diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | test/ruby/endblockwarn_rb (renamed from test/ruby/endblockwarn.rb) | 0 | ||||
-rw-r--r-- | test/ruby/test_beginendblock.rb | 4 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +Mon Dec 24 00:47:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org> + + * test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn): + rename endblockwarn.rb to endblockwarn_rb to avoid unnecessary + warning in make test. + Sun Dec 23 23:03:13 2007 Tanaka Akira <akr@fsij.org> * encoding.c (rb_enc_codepoint): implemented to raise invalid diff --git a/test/ruby/endblockwarn.rb b/test/ruby/endblockwarn_rb index 7b7f97f59..7b7f97f59 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 3e51adff3..21b9b4c33 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)) |