From 2490cc8e6a4dfb83781370fc634af1336cdccbf3 Mon Sep 17 00:00:00 2001 From: Fernando Tapia Rico Date: Tue, 21 May 2019 18:30:32 +0200 Subject: Add possible Windows errors to File.cd!/1 tests --- lib/elixir/test/elixir/file_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/elixir/test/elixir/file_test.exs b/lib/elixir/test/elixir/file_test.exs index 4f5357787..69ad7c9e3 100644 --- a/lib/elixir/test/elixir/file_test.exs +++ b/lib/elixir/test/elixir/file_test.exs @@ -1887,7 +1887,7 @@ defmodule FileTest do test "invalid_cd!" do message = - ~r"\Acould not set current working directory to #{inspect(fixture_path("file.txt"))}: (not a directory|no such file or directory)" + ~r"\Acould not set current working directory to #{inspect(fixture_path("file.txt"))}: (not a directory|no such file or directory|I/O error)" assert_raise File.Error, message, fn -> File.cd!(fixture_path("file.txt")) -- cgit v1.2.1