File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -817,10 +817,6 @@ void fossil_test_run_case(fossil_test_case_t *test_case, fossil_test_env_t *env)
817817 clock_t end_iter = clock ();
818818 test_case -> execution_time = (double )(end_iter - start_iter ) / CLOCKS_PER_SEC ;
819819
820- // if (_ASSERT_COUNT == 0) {
821- // printf(FOSSIL_TEST_COLOR_YELLOW "WARNING: %s contains no assertions\n" FOSSIL_TEST_COLOR_RESET, test_case->name);
822- // }
823-
824820 fossil_fossil_test_case_teardown (test_case );
825821
826822 switch (test_case -> status ) {
@@ -998,7 +994,7 @@ void fossil_test_suggest(fossil_test_env_t *env) {
998994 if (env -> pass_count == 0 && env -> fail_count == 0 && env -> skip_count == 0 && env -> timeout_count == 0 && env -> empty_count > 0 ) {
999995 printf (FOSSIL_TEST_COLOR_CYAN FOSSIL_TEST_ATTR_ITALIC "Suggestion: %s\n" FOSSIL_TEST_COLOR_RESET , empty_suite_suggestions [rand () % 50 ]);
1000996 } else if (env -> fail_count > 0 ) {
1001- printf (FOSSIL_TEST_COLOR_CYAN "Suggestion: %s\n" FOSSIL_TEST_COLOR_RESET , failure_suggestions [rand () % 50 ]);
997+ printf (FOSSIL_TEST_COLOR_CYAN FOSSIL_TEST_ATTR_ITALIC "Suggestion: %s\n" FOSSIL_TEST_COLOR_RESET , failure_suggestions [rand () % 50 ]);
1002998 } else if (env -> pass_count > 0 ) {
1003999 printf (FOSSIL_TEST_COLOR_CYAN FOSSIL_TEST_ATTR_ITALIC "Suggestion: %s\n" FOSSIL_TEST_COLOR_RESET , success_suggestions [rand () % 50 ]);
10041000 } else if (env -> timeout_count > 0 ) {
You can’t perform that action at this time.
0 commit comments