aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-05-10 12:29:41 +0200
committerBjörn Gustavsson <[email protected]>2016-05-13 10:52:25 +0200
commit747e9cebee47272704342895bc57cf5edd83b550 (patch)
treecefbbcf942731b498aa041bd68a13df1ada9d775 /lib/compiler
parent6d66e21dd6b1b891f917e86902edaea3ed86a6eb (diff)
downloadotp-747e9cebee47272704342895bc57cf5edd83b550.tar.gz
otp-747e9cebee47272704342895bc57cf5edd83b550.tar.bz2
otp-747e9cebee47272704342895bc57cf5edd83b550.zip
trycatch_SUITE: Cover the only uncovered line in sys_core_fold
Recent spring cleaning in the test suite left a line in sys_core_fold dealing with an unnecessary catch uncovered.
Diffstat (limited to 'lib/compiler')
-rw-r--r--lib/compiler/test/trycatch_SUITE.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/compiler/test/trycatch_SUITE.erl b/lib/compiler/test/trycatch_SUITE.erl
index f7ad78cb8d..a591d6cc93 100644
--- a/lib/compiler/test/trycatch_SUITE.erl
+++ b/lib/compiler/test/trycatch_SUITE.erl
@@ -1034,6 +1034,9 @@ grab_bag(_Config) ->
end
end,
+ %% Unnecessary catch.
+ 22 = (catch 22),
+
ok.