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:
parent
f33117fbc6
commit
1ee9299bca
1 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue