Skip to content

Commit ae236ea

Browse files
committed
static_data_buffer_tests: checking seek() result
1 parent 16750ee commit ae236ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test-app/static_data_buffer_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ TEST_CASE("data_buffer", "[data_buffer]") {
3232

3333
REQUIRE(eq);
3434

35-
buf.seek(buf.size());
35+
CHECK(buf.seek(buf.size()));
3636
CHECK(buf.size() == 100);
3737
CHECK(buf.pos() == 100);
3838

@@ -41,7 +41,7 @@ TEST_CASE("data_buffer", "[data_buffer]") {
4141
CHECK(buf.size() == 110);
4242
CHECK(buf.pos() == 110);
4343

44-
buf.seek(100);
44+
CHECK(buf.seek(100));
4545
CHECK(buf.size() == 110);
4646
CHECK(buf.pos() == 100);
4747

0 commit comments

Comments
 (0)