Skip to content

Commit

Permalink
mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegillet committed Jul 21, 2024
1 parent 1221ea6 commit af9c8a2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions test/elixir_analyzer/test_suite/two_fer_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -112,19 +112,19 @@ defmodule ElixirAnalyzer.TestSuite.TwoFerTest do
end

test_exercise_analysis "accepts any value as the default parameter",
comments_exclude: [Constants.two_fer_use_default_parameter()] do
[
defmodule TwoFer do
def two_fer(name \\ "you")
end,
defmodule TwoFer do
def two_fer(name \\ "wrong default value")
end,
defmodule TwoFer do
def two_fer(name \\ nil)
end
]
end
comments_exclude: [Constants.two_fer_use_default_parameter()] do
[
defmodule TwoFer do
def two_fer(name \\ "you")
end,
defmodule TwoFer do
def two_fer(name \\ "wrong default value")
end,
defmodule TwoFer do
def two_fer(name \\ nil)
end
]
end

describe "function header" do
test_exercise_analysis "refer when using a function header",
Expand Down

0 comments on commit af9c8a2

Please sign in to comment.