Skip to content

Commit f74f3c9

Browse files
committed
unit_test: Prevented badly encoded output from showing
1 parent 8fb598d commit f74f3c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/util/unit/chunk_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ CASE("Constructing a chunk with a shared buffer and size")
3737
Chunk c{buf, N};
3838

3939
EXPECT(c.size() == N);
40-
EXPECT(c);
40+
EXPECT(static_cast<bool>(c));
4141

4242
EXPECT(c.data() == buf.get());
4343
}

0 commit comments

Comments
 (0)