Ignore:
Timestamp:
12/14/03 17:06:21 (18 years ago)
Author:
piso
Message:

DEFTEST: ~S => ~A

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/rt.lisp

    r4812 r5125  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: rt.lisp,v 1.143 2003-11-17 18:04:50 piso Exp $
     4;;; $Id: rt.lisp,v 1.144 2003-12-14 17:06:21 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    7474
    7575(defmacro deftest (name &rest body)
    76   (format t "Test ~s~%" `,name)
     76  (format t "Test ~S~%" `,name)
    7777  (finish-output)
    7878  (let* ((p body)
     
    9494           (passed (and (not aborted) (equalp-with-case r `,values))))
    9595      (unless passed
    96         (format t "  Expected value: ~s~%"
     96        (format t "  Expected value: ~A~%"
    9797                (if (= (length `,values) 1)
    9898                    (car `,values)
    9999                    `,values))
    100         (format t "    Actual value: ~s~%"
     100        (format t "    Actual value: ~A~%"
    101101                (if (= (length r) 1)
    102102                    (car r)
Note: See TracChangeset for help on using the changeset viewer.