diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-24 08:54:19 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-24 08:54:19 +0000 |
commit | 8b9a3eaba6c6af525974f7f41025d3371918931d (patch) | |
tree | a6469542919bddb51033aed5d43a7876e8ecea23 /test/erb | |
parent | b81538d2592f24ae9927ead4fb4909cc74ada570 (diff) | |
download | bundler-8b9a3eaba6c6af525974f7f41025d3371918931d.tar.gz |
lib/erb.rb: Add uplevel to warn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/erb')
-rw-r--r-- | test/erb/test_erb_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/erb/test_erb_command.rb b/test/erb/test_erb_command.rb index ac87b07740..ed13c29c96 100644 --- a/test/erb/test_erb_command.rb +++ b/test/erb/test_erb_command.rb @@ -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.", - "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.+\/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/, ] assert_in_out_err(["-w", File.expand_path("../../../bin/erb", __FILE__), |