aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2018-03-02 14:19:34 +0100
committerRichard Carlsson <[email protected]>2018-03-02 14:19:34 +0100
commit6ff26316ffb80fbd2d7daa79986671f0e8c2db70 (patch)
treee90ff81f3d30ede2ec98a9d7256ee5c1160261f3 /lib/stdlib/test
parentbd5ebce131cc8a02e559b8eec2a68b089ca235a6 (diff)
downloadotp-6ff26316ffb80fbd2d7daa79986671f0e8c2db70.tar.gz
otp-6ff26316ffb80fbd2d7daa79986671f0e8c2db70.tar.bz2
otp-6ff26316ffb80fbd2d7daa79986671f0e8c2db70.zip
Make io_lib:unscan_format/1 work with pad char and default precision
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 45363c0592..4977f5375f 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.