aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/test/bs_match_misc_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-04-18 08:14:19 +0200
committerBjörn Gustavsson <[email protected]>2016-04-18 08:14:19 +0200
commit575c1d99d37e541d802c51a62326b6faa3cffbf1 (patch)
tree7174e0f94d00bda30c719ee69d20b49bc8bf1178 /lib/debugger/test/bs_match_misc_SUITE.erl
parent26c6f622ce12e865a229b51ff503f852df56d82d (diff)
downloadotp-575c1d99d37e541d802c51a62326b6faa3cffbf1.tar.gz
otp-575c1d99d37e541d802c51a62326b6faa3cffbf1.tar.bz2
otp-575c1d99d37e541d802c51a62326b6faa3cffbf1.zip
Eliminate use of test_server:fail/{0,1}
Diffstat (limited to 'lib/debugger/test/bs_match_misc_SUITE.erl')
-rw-r--r--lib/debugger/test/bs_match_misc_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/debugger/test/bs_match_misc_SUITE.erl b/lib/debugger/test/bs_match_misc_SUITE.erl
index 67847ff260..c375d267e3 100644
--- a/lib/debugger/test/bs_match_misc_SUITE.erl
+++ b/lib/debugger/test/bs_match_misc_SUITE.erl
@@ -409,9 +409,9 @@ x0_2(_, Bin) ->
x0_3(_, Bin) ->
case Bin of
<<_:72,7:8,_/binary>> ->
- ?line ?t:fail();
+ ct:fail(failed);
<<_:64,0:16,_/binary>> ->
- ?line ?t:fail();
+ ct:fail(failed);
<<_:64,42:16,123456:32,_/binary>> ->
ok
end.
@@ -525,7 +525,7 @@ do_otp_7198(FillerSize) ->
ok;
{'DOWN',Ref,process,Pid,Reason} ->
io:format("unexpected: ~p", [Reason]),
- ?line ?t:fail()
+ ct:fail(failed)
end.
do_otp_7198_test(_) ->