Skip to content
Snippets Groups Projects
Commit fa5e7912 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

more tests never hurt...

Rev: src/modules/sprintf/testsuite.in:1.2
parent 8db3eb85
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@ test_eq(sprintf("%{%d\n%}",({1,2,3,4})),"1\n2\n3\n4\n")
test_eq(strlen(sprintf("%1000s","")),1000)
test_eq(sprintf("%2d",1)," 1")
test_eq(sprintf("%2d",1)," 1")
test_eq(sprintf("foo_%3d",1),"foo_ 1")
test_eq(sprintf("%2d",2222),"2222")
test_eq(sprintf("%!2d",2222),"22")
test_eq(sprintf("%!!2d",2222),"2222")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment