diff options
author | Björn Gustavsson <[email protected]> | 2016-04-18 08:24:13 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-04-18 08:25:46 +0200 |
commit | e51364ed716fe373a0f4c6a02ed5d9740428265f (patch) | |
tree | 7d7b4fe25db56d33b5fd952402d99e7d7755a64e /lib/debugger/test/bs_match_tail_SUITE.erl | |
parent | c34e7292ebef7e1111d35951de46877fe79789ae (diff) | |
download | otp-e51364ed716fe373a0f4c6a02ed5d9740428265f.tar.gz otp-e51364ed716fe373a0f4c6a02ed5d9740428265f.tar.bz2 otp-e51364ed716fe373a0f4c6a02ed5d9740428265f.zip |
Eliminate doc and suite clauses
Diffstat (limited to 'lib/debugger/test/bs_match_tail_SUITE.erl')
-rw-r--r-- | lib/debugger/test/bs_match_tail_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/debugger/test/bs_match_tail_SUITE.erl b/lib/debugger/test/bs_match_tail_SUITE.erl index bc4446dd02..3586988ca6 100644 --- a/lib/debugger/test/bs_match_tail_SUITE.erl +++ b/lib/debugger/test/bs_match_tail_SUITE.erl @@ -63,7 +63,7 @@ init_per_suite(Config) when is_list(Config) -> end_per_suite(Config) when is_list(Config) -> ok. -aligned(doc) -> "Test aligned tails."; +%% Test aligned tails. aligned(Config) when is_list(Config) -> ?line Tail1 = mkbin([]), ?line {258,Tail1} = al_get_tail_used(mkbin([1,2])), @@ -86,7 +86,7 @@ aligned(Config) when is_list(Config) -> al_get_tail_used(<<A:16,T/binary>>) -> {A,T}. al_get_tail_unused(<<A:16,_/binary>>) -> A. -unaligned(doc) -> "Test that an non-aligned tail cannot be matched out."; +%% Test that an non-aligned tail cannot be matched out. unaligned(Config) when is_list(Config) -> ?line {'EXIT',{function_clause,_}} = (catch get_tail_used(mkbin([42]))), ?line {'EXIT',{{badmatch,_},_}} = (catch get_dyn_tail_used(mkbin([137]), 3)), @@ -106,7 +106,7 @@ get_dyn_tail_unused(Bin, Sz) -> <<A:Sz,_/binary>> = Bin, A. -zero_tail(doc) -> "Test that zero tails are tested correctly."; +%% Test that zero tails are tested correctly. zero_tail(Config) when is_list(Config) -> ?line 7 = (catch test_zero_tail(mkbin([7]))), ?line {'EXIT',{function_clause,_}} = (catch test_zero_tail(mkbin([1,2]))), |