Skip to content

Commit 76df110

Browse files
committed
Make test less strict about elixir internals
1 parent 392983b commit 76df110

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

integration_test/sql/logging.exs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ defmodule Ecto.Integration.LoggingTest do
145145
end)
146146

147147
assert out =~ stacktrace_entry(__ENV__.line - 2)
148-
assert out =~ ~r/ ↳ ExUnit.CaptureLog.with_log\/2, at: lib\/ex_unit\/capture_log.ex:113/
148+
149+
# We are a bit liberal with what we expect as we don't want to tie to internal ExUnit code
150+
assert out =~ ~r/ ↳ ExUnit.CaptureLog.*/
149151
end
150152

151153
test "with custom log level" do

0 commit comments

Comments
 (0)