diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/ChangeLog | 5 | ||||
| -rw-r--r-- | test/automated/cl-lib.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 4003a24bc6b..1163402fd19 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-04-22 Daniel Colascione <dancol@dancol.org> | ||
| 2 | |||
| 3 | * automated/cl-lib.el (cl-lib-struct-accessors): Fix test to | ||
| 4 | account for removal of `cl-struct-set-slot-value'. | ||
| 5 | |||
| 1 | 2014-04-21 Daniel Colascione <dancol@dancol.org> | 6 | 2014-04-21 Daniel Colascione <dancol@dancol.org> |
| 2 | 7 | ||
| 3 | * automated/bytecomp-tests.el (test-byte-comp-compile-and-load): | 8 | * automated/bytecomp-tests.el (test-byte-comp-compile-and-load): |
diff --git a/test/automated/cl-lib.el b/test/automated/cl-lib.el index 8bf1482a30a..89bc3cea392 100644 --- a/test/automated/cl-lib.el +++ b/test/automated/cl-lib.el | |||
| @@ -206,7 +206,7 @@ | |||
| 206 | (let ((x (make-mystruct :abc 1 :def 2))) | 206 | (let ((x (make-mystruct :abc 1 :def 2))) |
| 207 | (should (eql (cl-struct-slot-value 'mystruct 'abc x) 1)) | 207 | (should (eql (cl-struct-slot-value 'mystruct 'abc x) 1)) |
| 208 | (should (eql (cl-struct-slot-value 'mystruct 'def x) 2)) | 208 | (should (eql (cl-struct-slot-value 'mystruct 'def x) 2)) |
| 209 | (cl-struct-set-slot-value 'mystruct 'def x -1) | 209 | (setf (cl-struct-slot-value 'mystruct 'def x) -1) |
| 210 | (should (eql (cl-struct-slot-value 'mystruct 'def x) -1)) | 210 | (should (eql (cl-struct-slot-value 'mystruct 'def x) -1)) |
| 211 | (should (eql (cl-struct-slot-offset 'mystruct 'abc) 1)) | 211 | (should (eql (cl-struct-slot-offset 'mystruct 'abc) 1)) |
| 212 | (should-error (cl-struct-slot-offset 'mystruct 'marypoppins)) | 212 | (should-error (cl-struct-slot-offset 'mystruct 'marypoppins)) |