defun.lsp 392 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
;-*- Mode:     Lisp -*-
;;;; Author:   Paul Dietz
;;;; Created:  Sun Feb 16 23:40:32 2003
;;;; Contains: Tests of DEFUN

(in-package :cl-test)

;;; DEFUN is used extensively elsewhere, so I'm just putting error
;;; case tests here

11
#|
12 13 14 15 16 17 18
(deftest defun.error.1
  (classify-error (defun))
  program-error)

(deftest defun.error.2
  (classify-error (defun ignored-defun-name))
  program-error)
19
|#