Skip to content

Commit 85e068e

Browse files
authored
Do not read ~/.iex.exs in tests (#14553)
Closes #14514.
1 parent 21ed59c commit 85e068e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/iex/test/test_helper.exs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Code.prepend_path(path)
1010
System.put_env("ELIXIR_EDITOR", "echo")
1111

1212
{:ok, _} = Application.ensure_all_started(:iex)
13-
IEx.configure(colors: [enabled: false])
13+
IEx.configure(colors: [enabled: false], dot_iex: "/path/to/unknown/file")
1414

1515
{line_exclude, line_include} =
1616
if line = System.get_env("LINE"), do: {[:test], [line: line]}, else: {[], []}
@@ -103,7 +103,6 @@ defmodule IEx.Case do
103103
IEx.configure(options)
104104

105105
ExUnit.CaptureIO.capture_io([input: input, capture_prompt: capture_prompt], fn ->
106-
server_options = Keyword.put_new(server_options, :dot_iex, "")
107106
IEx.Server.run(server_options)
108107
end)
109108
|> strip_iex()

0 commit comments

Comments
 (0)