diff options
author | Björn Gustavsson <[email protected]> | 2017-10-18 14:41:52 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-10-18 14:41:52 +0200 |
commit | f2c70dc9a173a1b63b69e249e9cff2ebffecda39 (patch) | |
tree | 2e20d2f701bc1a1f57664594243a18488ab44678 /erts/emulator/test/num_bif_SUITE.erl | |
parent | 716a5a6594cc55a562b8bd0d5583d683d5d43c98 (diff) | |
parent | 20c2b1b174b44ed24afe73b3ac604e14d8c9318f (diff) | |
download | otp-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.erl | 2 |
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), |