Skip to content

Commit 2994a6c

Browse files
authored
Merge pull request rails#55238 from yahonda/ruby13679
Address TestERBTemplate test failure with Ruby 3.5.0dev
2 parents 05f0b16 + dc2384d commit 2994a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionview/test/template/template_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def test_argument_error_in_the_template_is_not_hijacked_by_strict_locals_checkin
246246
render
247247
end
248248

249-
assert_match(/in ['`]hello'/, error.backtrace.first)
249+
assert_match(/in ['`].*hello'/, error.backtrace.first)
250250
assert_instance_of ArgumentError, error.cause
251251
end
252252

0 commit comments

Comments
 (0)