aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/num_bif_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-10-05 13:10:42 +0200
committerBjörn Gustavsson <[email protected]>2017-10-13 11:55:47 +0200
commit20c2b1b174b44ed24afe73b3ac604e14d8c9318f (patch)
tree12de0b016a086e9bfc45ee498f201e36fe4c6e6f /erts/emulator/test/num_bif_SUITE.erl
parent0f2e313475bae2d3870333b0340e8453bbff51a5 (diff)
downloadotp-20c2b1b174b44ed24afe73b3ac604e14d8c9318f.tar.gz
otp-20c2b1b174b44ed24afe73b3ac604e14d8c9318f.tar.bz2
otp-20c2b1b174b44ed24afe73b3ac604e14d8c9318f.zip
Eliminate use of deprecated functions in string
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),