mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fixup 3292f4d965
This commit is contained in:
parent
3292f4d965
commit
44d25c6528
1 changed files with 1 additions and 1 deletions
|
@ -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__),
|
||||
|
|
Loading…
Add table
Reference in a new issue