Skip to content

Commit d51f3e1

Browse files
bgsmetafacebook-github-bot
authored andcommitted
Fix return type of print_error function
Summary: * Small fix noticed while preparing previous diff * One of the clauses return `skip` Reviewed By: jcpetruzza Differential Revision: D70784089 fbshipit-source-id: 06c65bdf192411e694b14df83124e1193be37dd1
1 parent e57ede3 commit d51f3e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

erlang/common_test/test_exec/src/ct_daemon_printer.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ print_summary(Total, Passed, FailedOrSkipped) ->
2929
io:format("~ts/~ts Failed or Skipped: ~b~n", [?CROSS_MARK, ?SKIP_MARK, FailedOrSkipped]).
3030

3131
-spec print_result(string(), ct_daemon_core:run_result() | ct_daemon_runner:discover_error()) ->
32-
ok | fail.
32+
ok | fail | skip.
3333
print_result(Name, pass_result) ->
3434
io:format("~ts ~ts~n", [?CHECK_MARK, Name]);
3535
print_result(Name, {fail, {TestId, {end_per_testcase, E}}}) ->

0 commit comments

Comments
 (0)