diff options
Diffstat (limited to 'test/io/console/test_io_console.rb')
-rw-r--r-- | test/io/console/test_io_console.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index 5475a93fa3..b06b5d5c67 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -148,6 +148,10 @@ class TestIO_Console < Test::Unit::TestCase } end + def test_sync + assert(helper {IO.console.sync}, "console should be unbuffered") + end + private def helper m, s = PTY.open |