summaryrefslogtreecommitdiff
path: root/test/run.scm
diff options
context:
space:
mode:
authorRobby Zambito <contact@robbyzambito.me>2023-02-21 16:53:25 -0500
committerRobby Zambito <contact@robbyzambito.me>2023-02-21 16:53:25 -0500
commit26197ab6e647ae9e37fb56f7844cf711fc10409c (patch)
tree976799445f48ba2d9f52f9b481b3323e20249dd0 /test/run.scm
parentc834a7b777556e5e5b960686e7769060d058e1b2 (diff)
Bring SRFI 180 up to feature parity
Record mutators may not mutate the record in place. Mutating an empty object should return a new object if it cannot be mutated.
Diffstat (limited to 'test/run.scm')
-rw-r--r--test/run.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run.scm b/test/run.scm
index d0b0e27..38d28de 100644
--- a/test/run.scm
+++ b/test/run.scm
@@ -168,7 +168,7 @@
(test-equal "record mutator should mutate the record instance"
3
(let ((p (point 1 2)))
- (point-set-y! p 3)
+ (set! p (point-set-y! p 3))
(point->y p)))
(test-assert "should be able to mutate mutable record fields using json-object-set!"