summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 15:48:39 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 15:48:39 +0000
commit53e0672c4e95399bde7c42bfd79ed6bda628cc0b (patch)
tree6475d5d974aa73590dd8d67f579296bf8faa146b /test
parente8b7ad0f5c93edb90f3eed38ce3ec91d3d34df84 (diff)
* test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn):
rename endblockwarn.rb to endblockwarn_rb to avoid unnecessary warning in make test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/endblockwarn_rb (renamed from test/ruby/endblockwarn.rb)0
-rw-r--r--test/ruby/test_beginendblock.rb4
2 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/endblockwarn.rb b/test/ruby/endblockwarn_rb
index 7b7f97f597..7b7f97f597 100644
--- a/test/ruby/endblockwarn.rb
+++ b/test/ruby/endblockwarn_rb
diff --git a/test/ruby/test_beginendblock.rb b/test/ruby/test_beginendblock.rb
index 3e51adff38..21b9b4c33f 100644
--- a/test/ruby/test_beginendblock.rb
+++ b/test/ruby/test_beginendblock.rb
@@ -38,7 +38,7 @@ errout = ARGV.shift
STDERR.reopen(File.open(errout, "w"))
STDERR.sync = true
Dir.chdir(#{q(DIR)})
-system("#{ruby}", "endblockwarn.rb")
+system("#{ruby}", "endblockwarn_rb")
EOF
launcher.close
launcherpath = launcher.path
@@ -46,7 +46,7 @@ EOF
erroutpath = errout.path
system(ruby, launcherpath, erroutpath)
expected = <<EOW
-endblockwarn.rb:2: warning: END in method; use at_exit
+endblockwarn_rb:2: warning: END in method; use at_exit
(eval):2: warning: END in method; use at_exit
EOW
assert_equal(expected, File.read(erroutpath))