File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -355,13 +355,9 @@ void _fossil_test_scoreboard_feature_rules(fossil_test_t *test_case) {
355355 if (_TEST_ENV .rule .skipped && strcmp (test_case -> marks , "skip" ) == 0 ) {
356356 _TEST_ENV .stats .expected_skipped_count ++ ;
357357 _TEST_ENV .rule .skipped = false;
358- }
359- if (!_ASSERT_INFO .has_assert && strcmp (test_case -> marks , "tofu" ) != 0 ) {
358+ } else if (!_ASSERT_INFO .has_assert && strcmp (test_case -> marks , "tofu" ) != 0 ) {
360359 _TEST_ENV .stats .expected_empty_count ++ ;
361- }
362-
363- // handling features for skip and timeouts
364- if (!_TEST_ENV .rule .should_pass && strcmp (test_case -> marks , "fail" ) == 0 ) {
360+ } else if (!_TEST_ENV .rule .should_pass && strcmp (test_case -> marks , "fail" ) == 0 ) {
365361 if (_ASSERT_INFO .should_fail ) {
366362 _fossil_test_scoreboard_expected_rules ();
367363 } else {
You can’t perform that action at this time.
0 commit comments