Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ansi-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michał Herda
ansi-test
Commits
36e28db2
Commit
36e28db2
authored
20 years ago
by
pfdietz
Browse files
Options
Downloads
Patches
Plain Diff
Added test of readable printing of backquoted forms.
parent
40bb69ab
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansi-tests/print-cons.lsp
+7
-1
7 additions, 1 deletion
ansi-tests/print-cons.lsp
with
7 additions
and
1 deletion
ansi-tests/print-cons.lsp
+
7
−
1
View file @
36e28db2
...
...
@@ -59,6 +59,13 @@
10)
nil)
(deftest print.backquote.random.1
(let ((x '`(a ,b ,@c (d . ,e) ,.f #(1 2 ,p ,@q ,.r s) g)))
(loop
repeat 20
nconc (randomly-check-readability x)))
nil)
;; random circular cons graphs
(deftest print.cons.random.2
(loop repeat 50
...
...
@@ -154,4 +161,3 @@
:readably nil :pretty nil))
"(# #*1101 \"abc\")")
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment