aboutsummaryrefslogtreecommitdiff
path: root/tests/value/reverse.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-12-01 22:26:06 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-12-05 17:21:48 +0300
commit66eea6d40b7fd2c12b297f7ce55a62e02f4db291 (patch)
treeb32027be37054d110f52b8280cf8d2b959c78921 /tests/value/reverse.test
parentcaf24aa705243f87c83d346d803adf84888a3cc5 (diff)
Make use of casts and canonicalizations in testscripts
Diffstat (limited to 'tests/value/reverse.test')
-rw-r--r--tests/value/reverse.test10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/value/reverse.test b/tests/value/reverse.test
index 2ebfe68..52c21e8 100644
--- a/tests/value/reverse.test
+++ b/tests/value/reverse.test
@@ -1,4 +1,4 @@
-# file : tests/directive/reverse.test
+# file : tests/value/reverse.test
# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
@@ -46,17 +46,15 @@ EOO
: dir-path
:
-r = ([string] $path.canonicalize(foo/bar/));
-s = ([string] $path.canonicalize(foo/bar));
$* <<EOI >>"EOO"
x = [dir_path] foo/bar/
print ([string] $x)
print "$x"
print "-I$x"
EOI
-$r
-$s
--I$s
+foo/bar/
+foo/bar
+-Ifoo/bar
EOO
: dir-path-root