We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c40de4 commit 61e626bCopy full SHA for 61e626b
lib/elixir/test/elixir/path_test.exs
@@ -94,6 +94,8 @@ defmodule PathTest do
94
end
95
96
test :expand_path do
97
+ assert (Path.expand("/") |> strip_drive_letter_if_windows) == "/"
98
+ assert (Path.expand("/foo") |> strip_drive_letter_if_windows) == "/foo"
99
assert (Path.expand("/foo/bar") |> strip_drive_letter_if_windows) == "/foo/bar"
100
assert (Path.expand("/foo/bar/") |> strip_drive_letter_if_windows) == "/foo/bar"
101
assert (Path.expand("/foo/bar/.") |> strip_drive_letter_if_windows)== "/foo/bar"
0 commit comments