summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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
3 files changed, 1 insertions, 3 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb
index 2cce67cc2f..47c7ae63c6 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 77c985b8ad..40dbe94b3a 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 5d5b8bc194..4cd63cfa74 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