From 3dad130034e3212159dda5d61988ca2b18959b24 Mon Sep 17 00:00:00 2001 From: Andrey Makarov Date: Sun, 23 Feb 2020 22:22:46 +0300 Subject: fix 3 minor bugs in joinPath (see #13455) (#13462) [backport] --- tests/stdlib/tos.nim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/stdlib') diff --git a/tests/stdlib/tos.nim b/tests/stdlib/tos.nim index 02a449b8c..15b82fadf 100644 --- a/tests/stdlib/tos.nim +++ b/tests/stdlib/tos.nim @@ -361,6 +361,10 @@ block ospaths: doAssert joinPath("", "lib") == "lib" doAssert joinPath("", "/lib") == unixToNativePath"/lib" doAssert joinPath("usr/", "/lib") == unixToNativePath"usr/lib" + doAssert joinPath("", "") == unixToNativePath"" + doAssert joinPath("/" / "") == unixToNativePath"/" + doAssert joinPath("/", "/a/b/c") == unixToNativePath"/a/b/c" + doAssert joinPath("foo/","") == unixToNativePath"foo/" block getTempDir: block TMPDIR: -- cgit 1.4.1-2-gfad0 value='switch'/> JonesForth ARM64 with APL symbolsmarmoset <naren@movingfra.me>
about summary refs log blame commit diff stats
path: root/original_jonesforth/test_read_file.f
blob: 3e3c8477af695395601e8f1cd1f1e150055f699b (plain) (tree)