mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
gen: fix str_gen_test.v (#7826)
This commit is contained in:
parent
f215620d83
commit
60b3658e6f
@ -72,10 +72,10 @@ fn test_map_of_floats() {
|
|||||||
assert '$aa' == "{'a': 1.1, 'b': 2.2, 'c': 3.3}"
|
assert '$aa' == "{'a': 1.1, 'b': 2.2, 'c': 3.3}"
|
||||||
}
|
}
|
||||||
|
|
||||||
fn test_map_of_bytes() {
|
fn test_map_of_runes() {
|
||||||
aa := {'a': `a`, 'b': `b`, 'c': `c`}
|
aa := {'a': `a`, 'b': `b`, 'c': `c`}
|
||||||
assert aa.str() == "{'a': a, 'b': b, 'c': c}"
|
assert aa.str() == "{'a': `a`, 'b': `b`, 'c': `c`}"
|
||||||
assert '$aa' == "{'a': a, 'b': b, 'c': c}"
|
assert '$aa' == "{'a': `a`, 'b': `b`, 'c': `c`}"
|
||||||
}
|
}
|
||||||
|
|
||||||
fn test_map_of_bools() {
|
fn test_map_of_bools() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user