aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/num_bif_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-10-18 14:41:52 +0200
committerBjörn Gustavsson <[email protected]>2017-10-18 14:41:52 +0200
commitf2c70dc9a173a1b63b69e249e9cff2ebffecda39 (patch)
tree2e20d2f701bc1a1f57664594243a18488ab44678 /erts/emulator/test/num_bif_SUITE.erl
parent716a5a6594cc55a562b8bd0d5583d683d5d43c98 (diff)
parent20c2b1b174b44ed24afe73b3ac604e14d8c9318f (diff)
downloadotp-f2c70dc9a173a1b63b69e249e9cff2ebffecda39.tar.gz
otp-f2c70dc9a173a1b63b69e249e9cff2ebffecda39.tar.bz2
otp-f2c70dc9a173a1b63b69e249e9cff2ebffecda39.zip
Merge branch 'bjorn/erts/cuddle-with-tests'
* bjorn/erts/cuddle-with-tests: Eliminate use of deprecated functions in string Eliminate warnings for ignoring the result of an expression
Diffstat (limited to 'erts/emulator/test/num_bif_SUITE.erl')
-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..17555d63c6 100644
--- a/erts/emulator/test/num_bif_SUITE.erl
+++ b/erts/emulator/test/num_bif_SUITE.erl
@@ -145,7 +145,7 @@ t_float_to_string(Config) when is_list(Config) ->
123456789012345678.0, [{decimals, 237}])),
{'EXIT', {badarg, _}} = (catch float_to_binary(
123456789012345678.0, [{decimals, 237}])),
- test_fts("1." ++ string:copies("0", 249) ++ "e+00",
+ test_fts("1." ++ lists:duplicate(249, $0) ++ "e+00",
1.0, [{scientific, 249}, compact]),
X1 = float_to_list(1.0),