Skip to content

Commit 10affa1

Browse files
authored
Apply suggestions from code review
1 parent 300f0ca commit 10affa1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/elixir/test/elixir/exception_test.exs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -874,19 +874,18 @@ defmodule ExceptionTest do
874874
import PathHelpers
875875

876876
write_beam(
877-
defmodule ExampleModule do
877+
defmodule BlameModule do
878878
def fun(arg), do: arg
879879
end
880880
)
881881

882882
args = [nil]
883883

884884
{exception, stack} =
885-
Exception.blame(:error, :function_clause, [{ExampleModule, :fun, args, [line: 13]}])
885+
Exception.blame(:error, :function_clause, [{BlameModule, :fun, args, [line: 13]}])
886886

887887
assert %FunctionClauseError{kind: :def, args: ^args, clauses: [_]} = exception
888-
889-
assert stack == [{ExampleModule, :fun, 1, [line: 13]}]
888+
assert stack == [{BlameModule, :fun, 1, [line: 13]}]
890889
end
891890

892891
test "annotates args and clauses from mfa" do

0 commit comments

Comments
 (0)