From 1afbf5c8033a0b8c3bbfcdf0c4da18c5715f9f6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Wed, 25 Nov 2020 09:55:10 +0100 Subject: [PATCH] Revert "Undo WrittenChunkInfo printing bug workaround" This reverts commit 2eb62c9736c4510b01abb8ec7ab3a3543ea21749. --- test/SerialIOTest.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/SerialIOTest.cpp b/test/SerialIOTest.cpp index c0c2c54f98..2ea039a6b6 100644 --- a/test/SerialIOTest.cpp +++ b/test/SerialIOTest.cpp @@ -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 } ) ) ); } } @@ -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 } ) ) ); } }