Skip to content

Commit

Permalink
Fix code format to unblock CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerweb committed Oct 9, 2023
1 parent d6c3e7f commit 6279eef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lib/broadway_sqs/options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,7 @@ defmodule BroadwaySQS.Options do
{:ok, value}
else
{:error,
"expected :#{name} to be a list with possible members #{inspect(allowed_members)}, got: #{
inspect(value)
}"}
"expected :#{name} to be a list with possible members #{inspect(allowed_members)}, got: #{inspect(value)}"}
end
end
end
3 changes: 2 additions & 1 deletion test/broadway_sqs/producer_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ defmodule BroadwaySQS.BroadwaySQS.ProducerTest do

describe "prepare_for_start/2 validation" do
test "when the queue url is not present" do
message = "invalid configuration given to SQSBroadway.prepare_for_start/2, required :queue_url option not found, received options: []"
message =
"invalid configuration given to SQSBroadway.prepare_for_start/2, required :queue_url option not found, received options: []"

assert_raise(ArgumentError, message, fn ->
prepare_for_start_module_opts([])
Expand Down

0 comments on commit 6279eef

Please sign in to comment.