Skip to content

Commit c4da03e

Browse files
committed
test: replace require with check
1 parent e16629a commit c4da03e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/ui/logdata_test.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ TEST_CASE( "Logdata reading changing file", "[logdata]" )
170170
waitUiState( [ &logData ] { return logData.getNbLine() == 401_lcount; } );
171171

172172
// Check we have a bigger file
173-
REQUIRE( changedSpy.count() >= 1 );
173+
CHECK( changedSpy.count() >= 1 );
174174
REQUIRE( logData.getNbLine() == 401_lcount );
175175
REQUIRE( logData.getMaxLength() == LineLength( SL_LINE_LENGTH ) );
176176
REQUIRE( logData.getFileSize()
@@ -189,7 +189,7 @@ TEST_CASE( "Logdata reading changing file", "[logdata]" )
189189
waitUiState( [ &logData ] { return logData.getNbLine() == 421_lcount; } );
190190

191191
// Check we have a bigger file
192-
REQUIRE( changedSpy.count() >= 2 );
192+
CHECK( changedSpy.count() >= 2 );
193193
REQUIRE( logData.getNbLine() == 421_lcount );
194194
REQUIRE( logData.getMaxLength() == LineLength( SL_LINE_LENGTH ) );
195195
REQUIRE( logData.getFileSize()
@@ -204,7 +204,7 @@ TEST_CASE( "Logdata reading changing file", "[logdata]" )
204204
waitUiState( [ &logData ] { return logData.getNbLine() == 0_lcount; } );
205205

206206
// Check we have an empty file
207-
REQUIRE( changedSpy.count() >= 3 );
207+
CHECK( changedSpy.count() >= 3 );
208208
REQUIRE( logData.getNbLine() == 0_lcount );
209209
REQUIRE( logData.getMaxLength().get() == 0 );
210210
REQUIRE( logData.getFileSize() == 0LL );

0 commit comments

Comments
 (0)