summaryrefslogtreecommitdiffstats
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
commitf407f2e652b690364849d254880b3d7af2546bc3 (patch)
tree6475d5d974aa73590dd8d67f579296bf8faa146b
parentd6175d08a36e4d75e2e08c5c90ea4b61d42941a4 (diff)
downloadruby-f407f2e652b690364849d254880b3d7af2546bc3.tar.gz
ruby-f407f2e652b690364849d254880b3d7af2546bc3.tar.xz
ruby-f407f2e652b690364849d254880b3d7af2546bc3.zip
* test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn):
rename endblockwarn.rb to endblockwarn_rb to avoid unnecessary warning in make test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--test/ruby/endblockwarn_rb (renamed from test/ruby/endblockwarn.rb)0
-rw-r--r--test/ruby/test_beginendblock.rb4
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d5bed1cb..4d3d42488 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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))