diff options
Diffstat (limited to 'test/for.tm')
| -rw-r--r-- | test/for.tm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/for.tm b/test/for.tm index 75ad2fee..9c329c62 100644 --- a/test/for.tm +++ b/test/for.tm @@ -15,14 +15,14 @@ func labeled_nums(nums:[Int] -> Text) return "EMPTY" return result -func table_str(t:{Text=Text} -> Text) +func table_str(t:{Text:Text} -> Text) str := "" for k,v in t str ++= "$k:$v," else return "EMPTY" return str -func table_key_str(t:{Text=Text} -> Text) +func table_key_str(t:{Text:Text} -> Text) str := "" for k in t str ++= "$k," @@ -40,7 +40,7 @@ func main() >> labeled_nums([]) = "EMPTY" - >> t := {"key1"="value1", "key2"="value2"} + >> t := {"key1":"value1", "key2":"value2"} >> table_str(t) = "key1:value1,key2:value2," >> table_str({}) |
