summaryrefslogtreecommitdiff
path: root/test/test_highline.rb
diff options
context:
space:
mode:
authorAbinoam Praxedes Marques Jr <abinoam@gmail.com>2015-07-23 00:01:21 -0300
committerAbinoam Praxedes Marques Jr <abinoam@gmail.com>2015-07-23 00:01:21 -0300
commitb8b1949791d7a1a326fc7dbab94a2ab3c999512f (patch)
treeaad49eef6b021721b0ddcbdf08aa4128da2c27fe /test/test_highline.rb
parent803d59cb207eefe964ddc42e9461fdcaeaa2f6ac (diff)
downloadhighline-b8b1949791d7a1a326fc7dbab94a2ab3c999512f.tar.gz
Skip Readline tests for Windows also'
Diffstat (limited to 'test/test_highline.rb')
-rwxr-xr-xtest/test_highline.rb6
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