aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-11-10 18:43:32 +0100
committerBjörn Gustavsson <[email protected]>2011-01-17 15:23:39 +0100
commit30f8eebe7b74a978de7acdb889b5d9e7a6f19ef9 (patch)
treedb96cb3105e5075a6b71b29846673d7212cdfb36 /erts/emulator
parent3054e6b85da5822963128061aa0a0201f3f6512e (diff)
downloadotp-30f8eebe7b74a978de7acdb889b5d9e7a6f19ef9.tar.gz
otp-30f8eebe7b74a978de7acdb889b5d9e7a6f19ef9.tar.bz2
otp-30f8eebe7b74a978de7acdb889b5d9e7a6f19ef9.zip
Add test for non-matching big number
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/test/beam_literals_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/test/beam_literals_SUITE.erl b/erts/emulator/test/beam_literals_SUITE.erl
index 75841adbfc..2238e89748 100644
--- a/erts/emulator/test/beam_literals_SUITE.erl
+++ b/erts/emulator/test/beam_literals_SUITE.erl
@@ -48,6 +48,7 @@ matching_bigs(doc) -> "Test matching of a few big number literals (in Beam,"
matching_bigs(Config) when is_list(Config) ->
a = matching1(3972907842873739),
b = matching1(-389789298378939783333333333333333333784),
+ other = matching1(3141699999999999999999999999999999999),
other = matching1(42).
matching_smalls(doc) -> "Test matching small numbers (both positive and negative).";