mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
e8b7ad0f5c
commit
53e0672c4e
3 changed files with 8 additions and 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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue