diff options
author | Robby Zambito <contact@robbyzambito.me> | 2023-02-21 16:53:25 -0500 |
---|---|---|
committer | Robby Zambito <contact@robbyzambito.me> | 2023-02-21 16:53:25 -0500 |
commit | 26197ab6e647ae9e37fb56f7844cf711fc10409c (patch) | |
tree | 976799445f48ba2d9f52f9b481b3323e20249dd0 /test/run.scm | |
parent | c834a7b777556e5e5b960686e7769060d058e1b2 (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.scm | 2 |
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!" |