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:
parent
80b150d3ad
commit
6f7bb30b0a
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user