Skip to content

Commit

Permalink
Updated switch format
Browse files Browse the repository at this point in the history
  • Loading branch information
AsparagusEduardo committed Mar 8, 2023
1 parent eb49e28 commit 24d8d3f
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions test/test_runner.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,15 +186,25 @@ void CB2_TestRunner(void)
result = "FAIL";
}
break;
case TEST_RESULT_PASS: result = "PASS"; break;
case TEST_RESULT_PASS:
result = "PASS";
break;
case TEST_RESULT_ASSUMPTION_FAIL:
result = "ASSUMPTION_FAIL";
color = "\e[33m";
break;
case TEST_RESULT_INVALID: result = "INVALID"; break;
case TEST_RESULT_ERROR: result = "ERROR"; break;
case TEST_RESULT_TIMEOUT: result = "TIMEOUT"; break;
default: result = "UNKNOWN"; break;
case TEST_RESULT_INVALID:
result = "INVALID";
break;
case TEST_RESULT_ERROR:
result = "ERROR";
break;
case TEST_RESULT_TIMEOUT:
result = "TIMEOUT";
break;
default:
result = "UNKNOWN";
break;
}

if (gTestRunnerState.result == TEST_RESULT_PASS)
Expand Down

0 comments on commit 24d8d3f

Please sign in to comment.