aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-01-17 16:15:33 +0100
committerLukas Larsson <[email protected]>2018-01-17 16:15:33 +0100
commit919b6ddc24e409ec78380af14511ad50a88b4525 (patch)
treeb88c5b958e41944f777d4f05d6eb8254a6f927ea /erts/emulator/test
parentb5f2a0703882d919e15a0ca2e24616aa97033a77 (diff)
parent434e4774a4f7e70437ee8a50c7b99ff3bda67282 (diff)
downloadotp-919b6ddc24e409ec78380af14511ad50a88b4525.tar.gz
otp-919b6ddc24e409ec78380af14511ad50a88b4525.tar.bz2
otp-919b6ddc24e409ec78380af14511ad50a88b4525.zip
Merge branch 'fhunleth/binary_to_integer_chec/PR-1671/OTP-14879' into maint
* fhunleth/binary_to_integer_chec/PR-1671/OTP-14879: Fail if ':' is passed to binary_to_integer/2
Diffstat (limited to 'erts/emulator/test')
-rw-r--r--erts/emulator/test/num_bif_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/test/num_bif_SUITE.erl b/erts/emulator/test/num_bif_SUITE.erl
index 1c76eb8019..ac1a667185 100644
--- a/erts/emulator/test/num_bif_SUITE.erl
+++ b/erts/emulator/test/num_bif_SUITE.erl
@@ -491,7 +491,7 @@ t_string_to_integer(Config) when is_list(Config) ->
list_to_binary(Value),Base)),
{'EXIT', {badarg, _}} =
(catch erlang:list_to_integer(Value,Base))
- end,[{" 1",1},{" 1",37},{"2",2},{"C",11},
+ end,[{" 1",1},{" 1",37},{"2",2},{"B",11},{"b",11},{":", 16},
{"1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111z",16},
{"1z111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111",16},
{"111z11111111",16}]),