mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip test_sync when there is no tty or something.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7d6fe4e604
commit
179ab89278
1 changed files with 1 additions and 0 deletions
|
@ -149,6 +149,7 @@ class TestIO_Console < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_sync
|
||||
skip "Can't get console (because of there is no tty?)" unless IO.console
|
||||
assert(helper {IO.console.sync}, "console should be unbuffered")
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue