Skip to content

Commit 116f7ed

Browse files
committed
Undo WrittenChunkInfo printing bug workaround
1 parent 606dddd commit 116f7ed

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

test/SerialIOTest.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ TEST_CASE( "available_chunks_test_json", "[serial][json]" )
145145
* Explicitly convert things to bool, so Catch doesn't get the splendid
146146
* idea to print the Chunk struct.
147147
*/
148-
REQUIRE( bool( table[ 0 ] == WrittenChunkInfo( { 2, 0 }, { 5, 4 } ) ) );
149-
REQUIRE( bool( table[ 1 ] == WrittenChunkInfo( { 7, 0 }, { 2, 2 } ) ) );
150-
REQUIRE( bool( table[ 2 ] == WrittenChunkInfo( { 8, 3 }, { 2, 1 } ) ) );
148+
REQUIRE( table[ 0 ] == WrittenChunkInfo( { 2, 0 }, { 5, 4 } ) );
149+
REQUIRE( table[ 1 ] == WrittenChunkInfo( { 7, 0 }, { 2, 2 } ) );
150+
REQUIRE( table[ 2 ] == WrittenChunkInfo( { 8, 3 }, { 2, 1 } ) );
151151
}
152152
}
153153

@@ -1637,8 +1637,7 @@ TEST_CASE( "available_chunks_test_hdf5", "[serial][json]" )
16371637
* Explicitly convert things to bool, so Catch doesn't get the splendid
16381638
* idea to print the Chunk struct.
16391639
*/
1640-
REQUIRE(
1641-
bool( table[ 0 ] == WrittenChunkInfo( { 0, 0 }, { height, 4 } ) ) );
1640+
REQUIRE( table[ 0 ] == WrittenChunkInfo( { 0, 0 }, { height, 4 } ) );
16421641
}
16431642
}
16441643

0 commit comments

Comments
 (0)