diff options
| author | Pascal Terjan <pterjan@gmail.com> | 2024-11-30 14:42:28 +0000 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-11-30 14:42:31 +0000 |
| commit | da03ab62e649db2fdf09b0bc93fe2efc635774c7 (patch) | |
| tree | 52868d763ccab169b474ee74991c96a9b26a7d89 /spec/ruby/core/array/element_reference_spec.rb | |
| parent | 2923f42ed7622f6310c63aab4c0abf05402f9a04 (diff) | |
[ruby/reline] Fix tests failing when INPUTRC is defined
(https://github.com/ruby/reline/pull/789)
Failure: test_empty_xdg_config_home(Reline::Config::Test)
/home/pterjan/reline/test/reline/test_config.rb:563:in `test_empty_xdg_config_home'
560: expected = File.expand_path('~/.config/readline/inputrc')
561: FileUtils.mkdir_p(File.dirname(expected))
562: FileUtils.touch(expected)
=> 563: assert_equal expected, @config.inputrc_path
564: ensure
565: FileUtils.rm(expected)
566: ENV['XDG_CONFIG_HOME'] = xdg_config_home_backup
<"/tmp/test_reline_config_4131165/.config/readline/inputrc"> expected but was
<"/etc/inputrc">
https://github.com/ruby/reline/commit/7de5a50f63
Diffstat (limited to 'spec/ruby/core/array/element_reference_spec.rb')
0 files changed, 0 insertions, 0 deletions
