Skip to content

Commit

Permalink
pass PR test
Browse files Browse the repository at this point in the history
  • Loading branch information
bradhanks committed Dec 27, 2023
1 parent d8f68dd commit 1f46f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plug/conn/utils_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ defmodule Plug.Conn.UtilsTest do
end)

expected_log_regex =
~r/\d{2}:\d{2}:\d{2}\.\d{3} \[warning\] invalid UTF-8 on test context, got byte 255 in position #{byte_size(@invalid_utf8) - 1}/i
~r/\d{2}:\d{2}:\d{2}\.\d{3} \[warn\] invalid UTF-8 on test context, got byte 255 in position #{byte_size(@invalid_utf8) - 1}/i

assert String.match?(log, expected_log_regex)
end
Expand Down

0 comments on commit 1f46f7a

Please sign in to comment.