1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tests: fix strconv.v_sprintf arrity mismatch in format_test.v

This commit is contained in:
Delyan Angelov 2020-09-17 00:33:25 +03:00
parent 80b150d3ad
commit 6f7bb30b0a

View File

@ -57,7 +57,7 @@ fn test_format(){
assert tmp_str == temp_s
sc5 := "[%.3f] [%0.3f] [%0.3F] [%0.3f] [%0.3F]"
temp_s = strconv.v_sprintf(sc5, f0, f1, f1, f2, f3, f3)
temp_s = strconv.v_sprintf(sc5, f0, f1, f1, f2, f3)
tmp_str = "[0.312] [200000.000] [200000.000] [-1234300000.000] [0.001]"
//C.printf(sc5.str, f0, f1, f1, f2, f3, f3)
//println("\n$temp_s")