Skip to content

Commit

Permalink
Fix typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
fuelen committed May 17, 2024
1 parent 476dbf8 commit 3f41abb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/seed_factory.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ defmodule SeedFactory do
|> sync_current_traits(command, args)

{:error, error} ->
raise "Unable to execue #{inspect(command_name)} command: #{inspect(error)}"
raise "Unable to execute #{inspect(command_name)} command: #{inspect(error)}"
end
end

Expand Down
2 changes: 1 addition & 1 deletion test/seed_factory_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ defmodule SeedFactoryTest do

test "resolver returns an error", context do
assert_raise RuntimeError,
~s|Unable to execue :resolve_with_error command: %{message: "OOPS", other_key: :data}|,
~s|Unable to execute :resolve_with_error command: %{message: "OOPS", other_key: :data}|,
fn ->
exec(context, :resolve_with_error)
end
Expand Down

0 comments on commit 3f41abb

Please sign in to comment.