Skip to content

Commit

Permalink
Inspect charlists as lists in testing assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
sorentwo committed Apr 6, 2023
1 parent 55ac7c7 commit 61e85d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/oban/testing.ex
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ defmodule Oban.Testing do
to be enqueued in the #{inspect(opts[:prefix])} schema. Instead found:
#{inspect(available_jobs(repo, opts), pretty: true)}
#{inspect(available_jobs(repo, opts), charlists: :as_lists, pretty: true)}
""")
end
end
Expand Down Expand Up @@ -411,7 +411,7 @@ defmodule Oban.Testing do
opts
|> Map.new()
|> Map.drop([:prefix])
|> inspect(pretty: true)
|> inspect(charlists: :as_lists, pretty: true)
end

# Perform Helpers
Expand Down

0 comments on commit 61e85d8

Please sign in to comment.