diff options
| author | Daniel Colascione | 2014-03-22 22:50:24 -0700 |
|---|---|---|
| committer | Daniel Colascione | 2014-03-22 22:50:24 -0700 |
| commit | c6b0fbe7dba2ed10fa390a8772a2c2b5d6485b2a (patch) | |
| tree | c6b3f688c125ef7af1bffb82e467adceebb0ac38 /test | |
| parent | 3768a86998e3da26c091b138e86a0e2c80e82644 (diff) | |
| download | emacs-c6b0fbe7dba2ed10fa390a8772a2c2b5d6485b2a.tar.gz emacs-c6b0fbe7dba2ed10fa390a8772a2c2b5d6485b2a.zip | |
Fix cl-defun keyword arg parsing. Please bootstrap.
Diffstat (limited to 'test')
| -rw-r--r-- | test/ChangeLog | 5 | ||||
| -rw-r--r-- | test/automated/cl-lib.el | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index c87022cd948..183fb409f1f 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-03-23 Daniel Colascione <dancol@dancol.org> | ||
| 2 | |||
| 3 | * automated/cl-lib.el (cl-lib-keyword-names-versus-values): New | ||
| 4 | test: correct parsing of keyword arguments. | ||
| 5 | |||
| 1 | 2014-03-07 Michael Albinus <michael.albinus@gmx.de> | 6 | 2014-03-07 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | * automated/tramp-tests.el (tramp-copy-size-limit): Declare. | 8 | * automated/tramp-tests.el (tramp-copy-size-limit): Declare. |
diff --git a/test/automated/cl-lib.el b/test/automated/cl-lib.el index 8b6ed6d6634..f7f4314e1cb 100644 --- a/test/automated/cl-lib.el +++ b/test/automated/cl-lib.el | |||
| @@ -195,4 +195,10 @@ | |||
| 195 | (should (eql (cl-mismatch "Aa" "aA") 0)) | 195 | (should (eql (cl-mismatch "Aa" "aA") 0)) |
| 196 | (should (eql (cl-mismatch '(a b c) '(a b d)) 2))) | 196 | (should (eql (cl-mismatch '(a b c) '(a b d)) 2))) |
| 197 | 197 | ||
| 198 | (ert-deftest cl-lib-keyword-names-versus-values () | ||
| 199 | (should (equal | ||
| 200 | (funcall (cl-function (lambda (&key a b) (list a b))) | ||
| 201 | :b :a :a 42) | ||
| 202 | '(42 :a)))) | ||
| 203 | |||
| 198 | ;;; cl-lib.el ends here | 204 | ;;; cl-lib.el ends here |