diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/io/console/test_io_console.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index dc489166e8..379921f337 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -189,9 +189,10 @@ class TestIO_Console < Test::Unit::TestCase } assert_equal("asdf", m.getpass("> ")) assert_equal("\n", s.readpartial(2)) + th.join } ensure - th.join + th.join rescue nil end def test_iflush |