diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index a5ee11a..727b497 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -10,7 +10,7 @@ class TestIO_Console < Test::Unit::TestCase def test_console_namespace assert_kind_of(Module, IO::Console) - end unless RUBY_ENGINE == "jruby" && RbConfig::CONFIG["host_os"] !~ /mswin|mingw/ + end HOST_OS = RbConfig::CONFIG['host_os']