Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix code format to unblock CI #81

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading