aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-03-09 10:50:12 +0100
committerGitHub <[email protected]>2018-03-09 10:50:12 +0100
commitffcef65abb8e83861ace13c6d4d79edb918cab73 (patch)
treed343818c071c6f3a803763c6218d5f48ad4ef01e /lib/stdlib/test
parente6b2f8a503e427015672d82d97244eca870a6a4e (diff)
parent6ff26316ffb80fbd2d7daa79986671f0e8c2db70 (diff)
downloadotp-ffcef65abb8e83861ace13c6d4d79edb918cab73.tar.gz
otp-ffcef65abb8e83861ace13c6d4d79edb918cab73.tar.bz2
otp-ffcef65abb8e83861ace13c6d4d79edb918cab73.zip
Merge pull request #1735 from richcarl/io_lib-unscan-fix
Make io_lib:unscan_format/1 work with pad char and default precision OTP-14958
Diffstat (limited to 'lib/stdlib/test')
-rw-r--r--lib/stdlib/test/io_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stdlib/test/io_SUITE.erl b/lib/stdlib/test/io_SUITE.erl
index d29f4c016d..ac61e3753b 100644
--- a/lib/stdlib/test/io_SUITE.erl
+++ b/lib/stdlib/test/io_SUITE.erl
@@ -2005,6 +2005,7 @@ writes(N, F1) ->
format_string(_Config) ->
%% All but padding is tested by fmt/2.
+ "xxxxxxxsss" = fmt("~10..xs", ["sss"]),
"xxxxxxsssx" = fmt("~10.4.xs", ["sss"]),
"xxxxxxsssx" = fmt("~10.4.*s", [$x, "sss"]),
ok.