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

11 commits

Author SHA1 Message Date
aycabta
4a620aff8d Restore class variable setting for tests 2020-05-14 12:27:33 +09:00
aycabta
03a492fe45 Initialize Reline callbacks when test suit starts 2020-05-14 12:27:33 +09:00
Koichi Sasada
d348b4adef skip test if Reline.completion_proc is nil.
Some other tests can set Reline.completion_proc, so if it is nil,
simply skip this test.
2020-03-02 13:42:35 +09:00
Lars Kanis
b0ca1fc21b Reline: Fix changed test results due to change to UTF-8 on Windows
In commit f8ea2860b0 the Reline encoding
for native windows console was changed to hardcoded UTF-8.
This caused failures in reline and readline tests, but they were hidden,
because parallel ruby tests incorrectly used Reline::ANSI as IOGate.
Tests failures were raised in single process mode, but not with -j switch.

This patch corrects encodings on native Windows console.
2020-01-21 21:26:58 +09:00
manga_osyo
6723aa07e5 Change argument Proc to #call defined object.
This is the same as the behavior of Readline.
2019-11-21 00:47:37 +09:00
Nobuyoshi Nakada
473e314791 Prefer dedecated assertions 2019-11-19 02:38:56 +09:00
manga_osyo
3816622fbe Fixed assert_equal first argument to be expected. 2019-11-12 21:03:22 +09:00
osyo-manga
fe45bee093 Reline#readline and Reline#readmultiline to private. 2019-11-12 21:03:22 +09:00
aycabta
309f6a7726 Swap expected and actual correctly 2019-10-07 14:15:05 +09:00
manga_osyo
50d4a77041 Add test with encoding. 2019-08-27 01:23:46 +09:00
manga_osyo
0295bffc96 Change to test file path. 2019-08-27 01:23:39 +09:00
Renamed from test/test_reline.rb (Browse further)