1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
This commit is contained in:
Hiroshi SHIBATA 2020-08-21 20:40:26 +09:00
parent 3292f4d965
commit 44d25c6528
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -20,7 +20,7 @@ class TestErbCommand < Test::Unit::TestCase
def test_deprecated_option
warnings = [
"warning: -S option of erb command is deprecated. Please do not use this.",
/\n.+\/bin\/erb:\d+: warning: Passing safe_level with the 2nd argument of ERB\.new is deprecated\. Do not use it, and specify other arguments as keyword arguments\.\n/,
/\n.+\/libexec\/erb:\d+: warning: Passing safe_level with the 2nd argument of ERB\.new is deprecated\. Do not use it, and specify other arguments as keyword arguments\.\n/,
]
assert_in_out_err(["-w",
File.expand_path("../../../libexec/erb", __FILE__),