Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Karsten Poeck
ansi-test
Commits
319f645d
Commit
319f645d
authored
Mar 22, 2003
by
pfdietz
Browse files
Beginning of tests for RESTART-BIND.
parent
f67fc295
Changes
2
Hide whitespace changes
Inline
Side-by-side
ansi-tests/load-conditions.lsp
View file @
319f645d
...
...
@@ -12,5 +12,7 @@
(load "ignore-errors.lsp")
(compile-and-load "define-condition-aux.lsp")
(load "define-condition.lsp")
(load "restart-bind.lsp")
ansi-tests/restart-bind.lsp
0 → 100644
View file @
319f645d
;-*- Mode: Lisp -*-
;;;; Author: Paul Dietz
;;;; Created: Fri Mar 21 22:28:53 2003
;;;; Contains: Tests for RESTART-BIND
(in-package :cl-test)
(deftest restart-bind.1
(restart-bind () nil)
nil)
(deftest restart-bind.2
(restart-bind () (values)))
(deftest restart-bind.3
(restart-bind () (values 'a 'b 'c 'd 'e 'f))
a b c d e f)
(deftest restart-bind.4
(block nil
(restart-bind () (return 'good) 'bad))
good)
(deftest restart-bind.5
(block done
(tagbody
(restart-bind () (go 10) (return-from done 'bad))
10
(return-from done 'good)))
good)
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment