summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-14 16:53:00 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-14 16:53:00 +0000
commitfe2a37dbcbae5324618845968dd63e458010970d (patch)
tree762058aa2608139519d4d8993548504a8e418e59
parentfa6f614f1eb5c5144bd7ad5c1d1541bfb248bb24 (diff)
downloadruby-fe2a37dbcbae5324618845968dd63e458010970d.tar.gz
ruby-fe2a37dbcbae5324618845968dd63e458010970d.tar.xz
ruby-fe2a37dbcbae5324618845968dd63e458010970d.zip
* test/fileutils/test_fileutils.rb (check_singleton): fix to use
symbole instead of string. * test/io/nonblock/test_flush.rb: enable tests. * test/xmlrpc/test_webrick_server.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog9
-rw-r--r--test/fileutils/test_fileutils.rb2
-rw-r--r--test/io/nonblock/test_flush.rb1
-rw-r--r--test/xmlrpc/test_webrick_server.rb1
4 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a6cac3a70..e2975c1b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Thu Feb 15 01:50:26 2007 Koichi Sasada <ko1@atdot.net>
+
+ * test/fileutils/test_fileutils.rb (check_singleton): fix to use
+ symbole instead of string.
+
+ * test/io/nonblock/test_flush.rb: enable tests.
+
+ * test/xmlrpc/test_webrick_server.rb: ditto.
+
Thu Feb 15 01:43:45 2007 Koichi Sasada <ko1@atdot.net>
* lib/delegate.rb: catch up with class local variable (@_v) spec.
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb
index 2cce67cc2..47c7ae63c 100644
--- a/test/fileutils/test_fileutils.rb
+++ b/test/fileutils/test_fileutils.rb
@@ -77,7 +77,7 @@ class TestFileUtils
include FileUtils
def check_singleton(name)
- assert_equal true, ::FileUtils.public_methods.include?(name.to_s)
+ assert_equal true, ::FileUtils.public_methods.include?(name.to_sym)
end
def my_rm_rf(path)
diff --git a/test/io/nonblock/test_flush.rb b/test/io/nonblock/test_flush.rb
index 77c985b8a..40dbe94b3 100644
--- a/test/io/nonblock/test_flush.rb
+++ b/test/io/nonblock/test_flush.rb
@@ -6,7 +6,6 @@ end
class TestIONonblock < Test::Unit::TestCase
def test_flush # [ruby-dev:24985]
- flunk "YARV doesn't support io/nonblock"
r,w = IO.pipe
w.nonblock = true
w.sync = false
diff --git a/test/xmlrpc/test_webrick_server.rb b/test/xmlrpc/test_webrick_server.rb
index 5d5b8bc19..4cd63cfa7 100644
--- a/test/xmlrpc/test_webrick_server.rb
+++ b/test/xmlrpc/test_webrick_server.rb
@@ -52,7 +52,6 @@ class Test_Webrick < Test::Unit::TestCase
PORT = 8070
def test_client_server
-assert false, "This tests doesn't work on YARV"
# NOTE: I don't enable SSL testing as this hangs
[false].each do |use_ssl|
begin