diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2020-05-08 00:15:01 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-05-08 00:15:01 +0900 |
| commit | 3b147c421368825ab3ff69dd78d10d7f7db0765e (patch) | |
| tree | b3b1c9c809304e338d0a145f599414d1f5d8f592 /spec/ruby | |
| parent | 00a3b8f73054836f2f9be6c25210ba49a5b9b105 (diff) | |
test/irb/test_cmd.rb: clear IRB.@CONF on setup
It caches a path to .irbrc file, which has caused random failure:
```
1) Failure:
TestIRB::ExtendCommand#test_irb_info_multiline [/home/mame/work/ruby/test/irb/test_cmd.rb:49]:
Expected /
Ruby\sversion: .+\n
IRB\sversion:\sirb .+\n
InputMethod:\sReidlineInputMethod\swith\sReline .+ and .+\n
\.irbrc\spath: .+
/x to match "Ruby version: 2.8.0\n" +
"IRB version: irb 1.2.3 (2020-02-15)\n" +
"InputMethod: ReidlineInputMethod with Reline 0.1.4 and /tmp/test_reline_config_155659/.inputrc\n".
```
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions
