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

pull/6393/head
Delyan Angelov 2020-09-17 00:33:25 +03:00
parent 80b150d3ad
commit 6f7bb30b0a
1 changed files with 1 additions and 1 deletions

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")