summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-12-10 06:48:11 +0100
committerGitHub <noreply@github.com>2019-12-10 06:48:11 +0100
commitc282cee4db7eb02b44a96989c430aa33e5517eab (patch)
treeea907c7de490659a9347ad7844a2dfee7f3f1c21 /lib
parent5929c3da218fdecf70e11ff970e7b7cda50c9144 (diff)
downloadNim-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.nim4
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("") == ("", "")