diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-12-10 06:48:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-10 06:48:11 +0100 |
commit | c282cee4db7eb02b44a96989c430aa33e5517eab (patch) | |
tree | ea907c7de490659a9347ad7844a2dfee7f3f1c21 /lib | |
parent | 5929c3da218fdecf70e11ff970e7b7cda50c9144 (diff) | |
download | Nim-c282cee4db7eb02b44a96989c430aa33e5517eab.tar.gz |
feature dracula themed doc (#12816)
* Implement gorgeous Dracula themed Nim documentation * Add color for escape sequences * fixes the test cases * the big CSS cleanup
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/os.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim index 618faf78c..ba6405621 100644 --- a/lib/pure/os.nim +++ b/lib/pure/os.nim @@ -213,9 +213,9 @@ proc splitPath*(path: string): tuple[head, tail: string] {. assert splitPath("usr/local/bin/") == ("usr/local/bin", "") assert splitPath("/bin/") == ("/bin", "") when (NimMajor, NimMinor) <= (1, 0): - assert splitPath("/bin") == ("", "bin") + assert splitPath("/bin") == ("", "bin") else: - assert splitPath("/bin") == ("/", "bin") + assert splitPath("/bin") == ("/", "bin") assert splitPath("bin") == ("", "bin") assert splitPath("") == ("", "") |