diff options
author | ima1zumi <mariimaizumi5@gmail.com> | 2021-06-25 01:04:16 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2021-06-25 17:42:45 +0900 |
commit | d340b091a82461b039cdfb9ba9c7ffee0ec89f0a (patch) | |
tree | e7441d4ff14718999f4140557f9a71595216dbb6 /lib/reline | |
parent | b048fd572af71c1015ac6701f718fbcf6dca2fb2 (diff) |
[ruby/reline] Fix failed test
For ruby/ruby repository's AppVeyor CI (Windows environment), `Reline::IOGate.encoding` will be changed from `UTF-8` to `Windows-31J` after the test is run.
So, when `test/reline/test_key_actor_emacs.rb` is loaded, `Reline::IOGate.encoding == Encoding::UTF_8` will be `true`,
but at the time of test execution, `Reline::IOGate.encoding` is `Windows-31J`.
For this reason, I changed the test method to check `Reline::IOGate.encoding` in the test method.
https://github.com/ruby/reline/commit/10e1ce3320
Diffstat (limited to 'lib/reline')
0 files changed, 0 insertions, 0 deletions