gen: fix str_gen_test.v (#7826)

pull/7844/head
yuyi 2021-01-03 22:40:47 +08:00 committed by GitHub
parent f215620d83
commit 60b3658e6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -72,10 +72,10 @@ fn test_map_of_floats() {
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`}
assert aa.str() == "{'a': a, 'b': b, 'c': c}"
assert '$aa' == "{'a': a, 'b': b, 'c': c}"
assert aa.str() == "{'a': `a`, 'b': `b`, 'c': `c`}"
assert '$aa' == "{'a': `a`, 'b': `b`, 'c': `c`}"
}
fn test_map_of_bools() {