Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
ansi-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Karsten Poeck
ansi-test
Commits
4c17d057
Commit
4c17d057
authored
Apr 23, 2003
by
pfdietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More twisted :allow-other-keys tests.
parent
305ae1b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
2 deletions
+45
-2
ansi-tests/defclass-01.lsp
ansi-tests/defclass-01.lsp
+45
-2
No files found.
ansi-tests/defclass-01.lsp
View file @
4c17d057
...
...
@@ -387,6 +387,49 @@
(s1 c))
x)
;;;
(defclass class-15 ()
((s1 :initarg :allow-other-keys :reader s1)))
(deftest class-15.1
(let ((c (make-instance 'class-15)))
(s1 c))
nil)
(deftest class-15.2
(let ((c (make-instance 'class-15 :allow-other-keys nil)))
(s1 c))
nil)
(deftest class-15.3
(let ((c (make-instance 'class-15 :allow-other-keys t)))
(s1 c))
t)
(deftest class-15.4
(let ((c (make-instance 'class-15 :allow-other-keys t
:allow-other-keys nil)))
(s1 c))
t)
(deftest class-15.5
(let ((c (make-instance 'class-15 :allow-other-keys nil
:allow-other-keys t)))
(s1 c))
nil)
(deftest class-15.6
(let ((c (make-instance 'class-15 :allow-other-keys t
:foo 'bar)))
(s1 c))
t)
(deftest class-15.7
(let ((c (make-instance 'class-15 :allow-other-keys t
:allow-other-keys nil
:foo 'bar)))
(s1 c))
t)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment