Commit 319f645d authored by pfdietz's avatar pfdietz
Browse files

Beginning of tests for RESTART-BIND.

parent f67fc295
......@@ -12,5 +12,7 @@
(load "ignore-errors.lsp")
(compile-and-load "define-condition-aux.lsp")
(load "define-condition.lsp")
(load "restart-bind.lsp")
;-*- 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)
(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))
(deftest restart-bind.5
(block done
(restart-bind () (go 10) (return-from done 'bad))
(return-from done 'good)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment