diff options
author | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-07-23 00:01:21 -0300 |
---|---|---|
committer | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-07-23 00:01:21 -0300 |
commit | b8b1949791d7a1a326fc7dbab94a2ab3c999512f (patch) | |
tree | aad49eef6b021721b0ddcbdf08aa4128da2c27fe /test/test_highline.rb | |
parent | 803d59cb207eefe964ddc42e9461fdcaeaa2f6ac (diff) | |
download | highline-b8b1949791d7a1a326fc7dbab94a2ab3c999512f.tar.gz |
Skip Readline tests for Windows also'
Diffstat (limited to 'test/test_highline.rb')
-rwxr-xr-x | test/test_highline.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test_highline.rb b/test/test_highline.rb index 5a86262..93ac7e0 100755 --- a/test/test_highline.rb +++ b/test/test_highline.rb @@ -315,8 +315,10 @@ class TestHighLine < Minitest::Test # properly on rubinius or jruby. # - if @terminal.terminal.jruby? or @terminal.terminal.rubinius? - skip "We can't test Readline on JRuby nor on Rubinius yet" + terminal = @terminal.terminal + + if terminal.jruby? or terminal.rubinius? or terminal.windows? + skip "We can't test Readline on JRuby, Rubinius and Windows yet" end # Creating Tempfiles here because Readline.input |