diff options
author | Andrea Leopardi <an.leopardi@gmail.com> | 2022-01-06 10:18:20 +0200 |
---|---|---|
committer | Andrea Leopardi <an.leopardi@gmail.com> | 2022-01-06 10:18:20 +0200 |
commit | 1f872389af38f424d9de46e55662f4ef63dfa3fe (patch) | |
tree | e530888ef12e15eea68b1b26bb8a2b9625823dd7 | |
parent | 8f0c99247177586f1a171c797b9ad6310721ad2a (diff) | |
download | elixir-andrea/fix-windows-build.tar.gz |
-rw-r--r-- | lib/elixir/test/elixir/path_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elixir/test/elixir/path_test.exs b/lib/elixir/test/elixir/path_test.exs index 54c16e08c..6b43b9b5e 100644 --- a/lib/elixir/test/elixir/path_test.exs +++ b/lib/elixir/test/elixir/path_test.exs @@ -111,7 +111,7 @@ defmodule PathTest do test "safe_relative_to/2" do assert Path.safe_relative_to("local/foo/bar", "local") == {:ok, "local/foo/bar"} - assert Path.safe_relative_to("foo/..", "local") == {:ok, "local"} + assert Path.safe_relative_to("foo/..", "local") == {:ok, ""} assert Path.safe_relative_to("..", "local/foo") == :error assert Path.safe_relative_to("d:/usr/local/foo", "D:/") == :error assert Path.safe_relative_to("D:/usr/local/foo", "d:/") == :error |