diff options
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.rb | 4 |
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)) |