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
bc136c62
Commit
bc136c62
authored
20 years ago
by
pfdietz
Browse files
Options
Downloads
Patches
Plain Diff
Commented out namestring.[34]
parent
96fd5972
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/namestring.lsp
+16
-2
16 additions, 2 deletions
ansi-tests/namestring.lsp
with
16 additions
and
2 deletions
ansi-tests/namestring.lsp
+
16
−
2
View file @
bc136c62
...
@@ -23,12 +23,20 @@
...
@@ -23,12 +23,20 @@
(assert (string= (namestring ns) ns))))
(assert (string= (namestring ns) ns))))
nil)
nil)
;;; I'm not convinced these tested required behavior, so I'm commenting
;;; them out for now. FIXME: determine if they are bogus
#|
(deftest namestring.3
(deftest namestring.3
(let* ((name "namestring.lsp")
(let* ((name "namestring.lsp")
(pn (merge-pathnames (pathname name)))
(pn (merge-pathnames (pathname name)))
(name2 (namestring pn))
(name2 (namestring pn))
(pn2 (pathname name2)))
(pn2 (pathname name2)))
(or (equalt pn pn2) (list pn pn2)))
(or (equalt pn pn2) (list (list pn (pathname-host pn) (pathname-device pn)
(pathname-directory pn) (pathname-name pn)
(pathname-type pn) (pathname-version pn))
(list pn2 (pathname-host pn2) (pathname-device pn2)
(pathname-directory pn2) (pathname-name pn2)
(pathname-type pn2) (pathname-version pn2)))))
t)
t)
(deftest namestring.4
(deftest namestring.4
...
@@ -36,8 +44,14 @@
...
@@ -36,8 +44,14 @@
(pn (merge-pathnames (pathname name)))
(pn (merge-pathnames (pathname name)))
(name2 (with-open-file (s pn :direction :input) (namestring s)))
(name2 (with-open-file (s pn :direction :input) (namestring s)))
(pn2 (pathname name2)))
(pn2 (pathname name2)))
(or (equalt pn pn2) (list pn pn2)))
(or (equalt pn pn2) (list (list pn (pathname-host pn) (pathname-device pn)
(pathname-directory pn) (pathname-name pn)
(pathname-type pn) (pathname-version pn))
(list pn2 (pathname-host pn2) (pathname-device pn2)
(pathname-directory pn2) (pathname-name pn2)
(pathname-type pn2) (pathname-version pn2)))))
t)
t)
|#
;;; Error tests
;;; Error tests
...
...
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