1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add support Windows in CI.

This commit is contained in:
manga_osyo 2019-08-18 15:51:18 +09:00 committed by aycabta
parent f33117fbc6
commit 1ee9299bca

View file

@ -34,32 +34,32 @@ class Reline::Test < Reline::TestCase
def test_basic_word_break_characters
assert_equal(Reline.basic_word_break_characters, " \t\n`><=;|&{(")
Reline.basic_word_break_characters = "ああ"
assert_equal(Reline.basic_word_break_characters, "ああ")
Reline.basic_word_break_characters = "["
assert_equal(Reline.basic_word_break_characters, "[")
assert_equal(Reline.basic_word_break_characters.encoding, Encoding::default_external)
end
def test_completer_word_break_characters
assert_equal(Reline.completer_word_break_characters, " \t\n`><=;|&{(")
Reline.completer_word_break_characters = "ああ"
assert_equal(Reline.completer_word_break_characters, "ああ")
Reline.completer_word_break_characters = "["
assert_equal(Reline.completer_word_break_characters, "[")
assert_equal(Reline.completer_word_break_characters.encoding, Encoding::default_external)
end
def test_basic_quote_characters
assert_equal(Reline.basic_quote_characters, '"\'')
Reline.basic_quote_characters = ""
assert_equal(Reline.basic_quote_characters, "")
Reline.basic_quote_characters = "`"
assert_equal(Reline.basic_quote_characters, "`")
assert_equal(Reline.basic_quote_characters.encoding, Encoding::default_external)
end
def test_completer_quote_characters
assert_equal(Reline.completer_quote_characters, '"\'')
Reline.completer_quote_characters = ""
assert_equal(Reline.completer_quote_characters, "")
Reline.completer_quote_characters = "`"
assert_equal(Reline.completer_quote_characters, "`")
assert_equal(Reline.completer_quote_characters.encoding, Encoding::default_external)
end