Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ansi-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michał Herda
ansi-test
Commits
b860b30b
Commit
b860b30b
authored
19 years ago
by
pfdietz
Browse files
Options
Downloads
Patches
Plain Diff
Begin moving some typep tests to their own file; add more error tests for typep
parent
e0a297aa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ansi-tests/load-types-and-class.lsp
+1
-0
1 addition, 0 deletions
ansi-tests/load-types-and-class.lsp
ansi-tests/typep.lsp
+35
-0
35 additions, 0 deletions
ansi-tests/typep.lsp
ansi-tests/types-and-class.lsp
+0
-12
0 additions, 12 deletions
ansi-tests/types-and-class.lsp
with
36 additions
and
12 deletions
ansi-tests/load-types-and-class.lsp
+
1
−
0
View file @
b860b30b
...
@@ -18,4 +18,5 @@
...
@@ -18,4 +18,5 @@
(load "deftype.lsp")
(load "deftype.lsp")
(load "standard-generic-function.lsp")
(load "standard-generic-function.lsp")
(load "type-of.lsp")
(load "type-of.lsp")
(load "typep.lsp")
(load "class-precedence-lists.lsp")
(load "class-precedence-lists.lsp")
This diff is collapsed.
Click to expand it.
ansi-tests/typep.lsp
0 → 100644
+
35
−
0
View file @
b860b30b
;-*- Mode: Lisp -*-
;;;; Author: Paul Dietz
;;;; Created: Mon May 23 07:13:32 2005
;;;; Contains: Tests of TYPEP
(in-package :cl-test)
(deftest typep.error.1
(signals-error (typep) program-error)
t)
(deftest typep.error.2
(signals-error (typep nil) program-error)
t)
(deftest typep.error.3
(signals-error (typep nil t nil nil) program-error)
t)
(deftest typep.error.4
(signals-error-always (typep nil 'values) error)
t t)
(deftest typep.error.5
(signals-error-always (typep nil '(values)) error)
t t)
(deftest typep.error.6
(signals-error-always (typep nil '(values t t t t)) error)
t t)
(deftest typep.error.7
(signals-error-always (typep nil '(function () t)) error)
t t)
This diff is collapsed.
Click to expand it.
ansi-tests/types-and-class.lsp
+
0
−
12
View file @
b860b30b
...
@@ -252,18 +252,6 @@
...
@@ -252,18 +252,6 @@
;;; Error checking of type-related functions
;;; Error checking of type-related functions
(deftest typep.error.1
(signals-error (typep) program-error)
t)
(deftest typep.error.2
(signals-error (typep nil) program-error)
t)
(deftest typep.error.3
(signals-error (typep nil t nil nil) program-error)
t)
(deftest type-error-datum.error.1
(deftest type-error-datum.error.1
(signals-error (type-error-datum) program-error)
(signals-error (type-error-datum) program-error)
t)
t)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment