Skip to content

Commit 232a545

Browse files
author
José Valim
committed
Avoid warnings on iex suite
1 parent c1deb99 commit 232a545

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/iex/test/iex/helpers_test.exs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ defmodule IEx.HelpersTest do
1313
@doc """
1414
Test function 2
1515
"""
16-
def test_fun_1(arg \\ 99), do: arg
16+
def test_fun_2(arg \\ 99), do: arg
1717

1818
test "clear helper" do
1919
assert "\e[H\e[2J" == capture_iex("clear")
@@ -37,10 +37,10 @@ defmodule IEx.HelpersTest do
3737

3838
test "h helper function" do
3939
doc_1 = "* def test_fun_1()\n\nTest function 1\n\n"
40-
doc_2 = "* def test_fun_1(arg \\\\ 99)\n\nTest function 2\n\n"
40+
doc_2 = "* def test_fun_2(arg \\\\ 99)\n\nTest function 2\n\n"
4141

4242
assert capture_io(fn -> h IEx.HelpersTest.test_fun_1/0 end) == doc_1
43-
assert capture_io(fn -> h IEx.HelpersTest.test_fun_1/1 end) == doc_2
43+
assert capture_io(fn -> h IEx.HelpersTest.test_fun_2/1 end) == doc_2
4444

4545
output = capture_io(fn -> h IEx.HelpersTest.test_fun_1 end)
4646
assert :binary.match(output, doc_1)

0 commit comments

Comments
 (0)