Skip to content

Commit

Permalink
Revert "Undo WrittenChunkInfo printing bug workaround"
Browse files Browse the repository at this point in the history
This reverts commit 2eb62c9.
  • Loading branch information
franzpoeschel committed Nov 25, 2020
1 parent 7301362 commit 1afbf5c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/SerialIOTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ TEST_CASE( "available_chunks_test_json", "[serial][json]" )
* Explicitly convert things to bool, so Catch doesn't get the splendid
* idea to print the Chunk struct.
*/
REQUIRE( table[ 0 ] == WrittenChunkInfo( { 2, 0 }, { 5, 4 } ) );
REQUIRE( table[ 1 ] == WrittenChunkInfo( { 7, 0 }, { 2, 2 } ) );
REQUIRE( table[ 2 ] == WrittenChunkInfo( { 8, 3 }, { 2, 1 } ) );
REQUIRE( bool( table[ 0 ] == WrittenChunkInfo( { 2, 0 }, { 5, 4 } ) ) );
REQUIRE( bool( table[ 1 ] == WrittenChunkInfo( { 7, 0 }, { 2, 2 } ) ) );
REQUIRE( bool( table[ 2 ] == WrittenChunkInfo( { 8, 3 }, { 2, 1 } ) ) );
}
}

Expand Down Expand Up @@ -1629,7 +1629,8 @@ TEST_CASE( "available_chunks_test_hdf5", "[serial][json]" )
* Explicitly convert things to bool, so Catch doesn't get the splendid
* idea to print the Chunk struct.
*/
REQUIRE( table[ 0 ] == WrittenChunkInfo( { 0, 0 }, { height, 4 } ) );
REQUIRE(
bool( table[ 0 ] == WrittenChunkInfo( { 0, 0 }, { height, 4 } ) ) );
}
}

Expand Down

0 comments on commit 1afbf5c

Please sign in to comment.