shithub: mc

Download patch

ref: be069342ca8397d91cc6fba3b22f7c353370f2af
parent: 09d82f137706f80e53cdb12b12cd0e52217aeb57
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Apr 22 20:49:43 EDT 2017

I worried myself, and added a test case.

--- a/lib/std/test/pathjoin.myr
+++ b/lib/std/test/pathjoin.myr
@@ -29,6 +29,7 @@
 	norm("/foo/../bar/../..", "/")
 
 	/* mix all of the above */
+	norm("./", ".")
 	norm("/../foo//bar", "/foo/bar")
 	norm("..//../foo/bar", "../../foo/bar")
 	norm("foo//./bar/..", "foo")