summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-04-23 00:49:43 -0700
committerOri Bernstein <ori@eigenstate.org>2017-04-23 00:49:43 -0700
commitbe069342ca8397d91cc6fba3b22f7c353370f2af (patch)
tree2d9dcfa45442b7fd46309d62b0b17cafda34c1e2
parent09d82f137706f80e53cdb12b12cd0e52217aeb57 (diff)
downloadmc-be069342ca8397d91cc6fba3b22f7c353370f2af.tar.gz
I worried myself, and added a test case.
-rw-r--r--lib/std/test/pathjoin.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/test/pathjoin.myr b/lib/std/test/pathjoin.myr
index 9cdc064..0204184 100644
--- a/lib/std/test/pathjoin.myr
+++ b/lib/std/test/pathjoin.myr
@@ -29,6 +29,7 @@ const main = {
norm("/foo/../bar/../..", "/")
/* mix all of the above */
+ norm("./", ".")
norm("/../foo//bar", "/foo/bar")
norm("..//../foo/bar", "../../foo/bar")
norm("foo//./bar/..", "foo")