diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-21 18:01:19 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-21 18:01:19 -0400 |
| commit | 68bedd3c23757a8576e77f38e38ddcf9ecd26d19 (patch) | |
| tree | 86ce1610143efc43453f50d3413925797601c48a /test/structs.tm | |
| parent | 0815de981c683cac7dbac082ee14c11894089f31 (diff) | |
Use colons instead of '=' for tables (e.g. {1: 2})
Diffstat (limited to 'test/structs.tm')
| -rw-r--r-- | test/structs.tm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/structs.tm b/test/structs.tm index fdf92d18..05349068 100644 --- a/test/structs.tm +++ b/test/structs.tm @@ -58,8 +58,8 @@ func main() >> my_pass := Password("Swordfish") assert my_pass == Password("Swordfish") assert "$my_pass" == "Password(...)" - >> users_by_password := {my_pass="User1", Password("xxx")="User2"} - assert "$users_by_password" == '{Password(...)="User1", Password(...)="User2"}' + >> users_by_password := {my_pass: "User1", Password("xxx"): "User2"} + assert "$users_by_password" == '{Password(...): "User1", Password(...): "User2"}' assert users_by_password[my_pass]! == "User1" >> CorecursiveA(@CorecursiveB()) |
