mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-20 14:25:23 +00:00
feature dracula themed doc (#12816)
* Implement gorgeous Dracula themed Nim documentation * Add color for escape sequences * fixes the test cases * the big CSS cleanup
This commit is contained in:
@@ -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("") == ("", "")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user