Skip to content

Commit

Permalink
Remove debug printout in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
zuiderkwast committed Jan 9, 2020
1 parent 67884e5 commit 8623565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/gradualizer_highlight_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ prettyprint_and_highlight_test() ->
" ^^^^^^^^^^^^^^^\n",
lists:flatten(Pretty)).

%% Tests the special form {clauses, [...]} which doesn't have any annotation.
prettyprint_and_highlight_fun_test() ->
Expr = {atom, 1, foo},
Forms = [{function, 1, f, 0,
[{clause, 1, [], [],
[{'fun', 1, {clauses, [{clause, 1, [], [],
[Expr]}]}}]}]}],
Pretty = gradualizer_highlight:prettyprint_and_highlight(Expr, Forms, _Color = false),
io:format(user, "~n~s~n", [Pretty]),
?assertEqual("f() -> fun () -> foo end.\n"
" ^^^\n",
lists:flatten(Pretty)).

0 comments on commit 8623565

Please sign in to comment.