diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/arrays.tm | 2 | ||||
| -rw-r--r-- | test/tables.tm | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/arrays.tm b/test/arrays.tm index f59ed6ce..8bc5a7f6 100644 --- a/test/arrays.tm +++ b/test/arrays.tm @@ -71,7 +71,7 @@ func main(): = @[999, 20, 30] do: - >> arr := [10, 20, 30] + >> arr := &[10, 20, 30] >> reversed := arr:reversed() = [30, 20, 10] # Ensure the copy-on-write behavior triggers: diff --git a/test/tables.tm b/test/tables.tm index 403f25e2..e67c7127 100644 --- a/test/tables.tm +++ b/test/tables.tm @@ -82,9 +82,9 @@ func main(): = 10 do: - >> t4 := {"one": 1} + >> t4 := &{"one": 1} >> t4["one"] = 999 >> t4["two"] = 222 >> t4 - = {"one":999, "two":222} + = &{"one":999, "two":222} |
