aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/erl_expand_records_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-02-25 15:40:16 +0100
committerBjörn Gustavsson <[email protected]>2016-03-09 12:08:36 +0100
commit511ff3279897028cabace38388d475eb4e4c56ec (patch)
tree43be20aad11a7d277d23499294415886443b6483 /lib/stdlib/test/erl_expand_records_SUITE.erl
parentec35c6439d3707801c7527dd2ea01ef0aa0421ed (diff)
downloadotp-511ff3279897028cabace38388d475eb4e4c56ec.tar.gz
otp-511ff3279897028cabace38388d475eb4e4c56ec.tar.bz2
otp-511ff3279897028cabace38388d475eb4e4c56ec.zip
Replace use of test_server:format/2 with io:format/2
There is no practial difference.
Diffstat (limited to 'lib/stdlib/test/erl_expand_records_SUITE.erl')
-rw-r--r--lib/stdlib/test/erl_expand_records_SUITE.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/stdlib/test/erl_expand_records_SUITE.erl b/lib/stdlib/test/erl_expand_records_SUITE.erl
index 7fc8e23290..892a8e1b93 100644
--- a/lib/stdlib/test/erl_expand_records_SUITE.erl
+++ b/lib/stdlib/test/erl_expand_records_SUITE.erl
@@ -793,10 +793,9 @@ run(Config, Tests, Opts) ->
AbsFile = filename:rootname(SourceFile, ".erl"),
code:purge(Mod),
code:load_abs(AbsFile, Mod),
-%io:format("run~n"),
case catch Mod:t() of
{'EXIT', _Reason} = Error ->
- ?t:format("failed, got ~p~n", [Error]),
+ io:format("failed, got ~p~n", [Error]),
fail();
ok ->
ok