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
725c5e2a
Commit
725c5e2a
authored
Nov 27, 2004
by
pfdietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slight variant of type-of.8
parent
f8e38d3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
ansi-tests/type-of.lsp
ansi-tests/type-of.lsp
+8
-0
No files found.
ansi-tests/type-of.lsp
View file @
725c5e2a
...
...
@@ -98,6 +98,13 @@
(eqt (type-of (make-instance class)) class))
t)
(deftest type-of.10
(let* ((class (eval '(defclass type-of.example-class-4 () ((a) (b) (c)))))
(obj (make-instance class)))
(setf (class-name class) nil)
(notnot-mv (typep obj class)))
t)
;;; Error tests
(deftest type-of.error.1
...
...
@@ -107,3 +114,4 @@
(deftest type-of.error.2
(signals-error (type-of nil nil) program-error)
t)
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