source: trunk/source/tests/ansi-tests/stream-external-format.lsp @ 8991

Last change on this file since 8991 was 8991, checked in by gz, 11 years ago

Check in the gcl ansi test suite (original, in preparation for making local changes)

File size: 564 bytes
Line 
1;-*- Mode:     Lisp -*-
2;;;; Author:   Paul Dietz
3;;;; Created:  Tue Jan 27 20:53:21 2004
4;;;; Contains: Tests of STREAM-EXTERNAL-FORMAT
5
6(in-package :cl-test)
7
8;;; This is tested in open.lsp
9
10;;; Error tests
11
12(deftest stream-external-format.error.1
13  (signals-error (stream-external-format) program-error)
14  t)
15
16(deftest stream-external-format.error.2
17  (signals-error
18   (let ((pn #p"tmp.dat"))
19     (delete-all-versions pn)
20     (with-open-file
21      (s pn :direction :output :if-exists :supersede)
22      (stream-external-format s nil)))
23   program-error)
24  t)
Note: See TracBrowser for help on using the repository browser.