Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
ansi-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Karsten Poeck
ansi-test
Commits
f21335fb
Commit
f21335fb
authored
Jul 03, 2004
by
pfdietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Yet another cleanup of *terminal-io* pprint-* tests, ensuring the ignored input stream is closed
parent
39d7b43e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
ansi-tests/pprint-fill.lsp
ansi-tests/pprint-fill.lsp
+4
-2
ansi-tests/pprint-linear.lsp
ansi-tests/pprint-linear.lsp
+4
-2
ansi-tests/pprint-tabular.lsp
ansi-tests/pprint-tabular.lsp
+4
-2
No files found.
ansi-tests/pprint-fill.lsp
View file @
f21335fb
...
...
@@ -63,8 +63,10 @@
(*print-right-margin* 100))
(with-output-to-string
(os)
(with-open-stream (*terminal-io* (make-two-way-stream (make-string-input-stream "") os))
(pprint-fill t '(1 2 3))))))
(with-input-from-string
(is "")
(with-open-stream (*terminal-io* (make-two-way-stream is os))
(pprint-fill t '(1 2 3)))))))
"(1 2 3)")
(deftest pprint-fill.11
...
...
ansi-tests/pprint-linear.lsp
View file @
f21335fb
...
...
@@ -68,8 +68,10 @@
(*print-right-margin* 100))
(with-output-to-string
(os)
(with-open-stream (*terminal-io* (make-two-way-stream (make-string-input-stream "") os))
(pprint-linear t '(1 2 3))))))
(with-input-from-string
(is "")
(with-open-stream (*terminal-io* (make-two-way-stream is os))
(pprint-linear t '(1 2 3)))))))
"(1 2 3)")
(deftest pprint-linear.11
...
...
ansi-tests/pprint-tabular.lsp
View file @
f21335fb
...
...
@@ -100,8 +100,10 @@
(*print-right-margin* 100))
(with-output-to-string
(os)
(with-open-stream (*terminal-io* (make-two-way-stream (make-string-input-stream "") os))
(pprint-tabular t '(1 2 3) t nil 1)))))
(with-input-from-string
(is "")
(with-open-stream (*terminal-io* (make-two-way-stream is os))
(pprint-tabular t '(1 2 3) t nil 1))))))
"(1 2 3)")
(deftest pprint-tabular.24
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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