aboutsummaryrefslogtreecommitdiff
path: root/test/paths.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/paths.tm')
-rw-r--r--test/paths.tm5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/paths.tm b/test/paths.tm
index e72cddec..01be9b05 100644
--- a/test/paths.tm
+++ b/test/paths.tm
@@ -99,3 +99,8 @@ func main()
say("Globbing:")
>> (./*.tm).glob()
+
+ assert (./foo).type == Relative
+ assert (/foo).type == Absolute
+ assert (~/foo).type == Home
+ assert (/foo/baz).components == ["foo", "baz"]