Commit da03ab6
[ruby/reline] Fix tests failing when INPUTRC is defined
(ruby/reline#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">
ruby/reline@7de5a50f631 parent 2923f42 commit da03ab6
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| 542 | + | |
542 | 543 | | |
543 | 544 | | |
544 | 545 | | |
545 | 546 | | |
546 | 547 | | |
547 | 548 | | |
| 549 | + | |
548 | 550 | | |
549 | 551 | | |
550 | 552 | | |
551 | 553 | | |
552 | 554 | | |
| 555 | + | |
553 | 556 | | |
554 | 557 | | |
555 | 558 | | |
556 | 559 | | |
557 | 560 | | |
| 561 | + | |
558 | 562 | | |
559 | 563 | | |
| 564 | + | |
560 | 565 | | |
561 | 566 | | |
562 | 567 | | |
| |||
565 | 570 | | |
566 | 571 | | |
567 | 572 | | |
| 573 | + | |
568 | 574 | | |
569 | 575 | | |
570 | 576 | | |
571 | 577 | | |
572 | 578 | | |
| 579 | + | |
573 | 580 | | |
| 581 | + | |
574 | 582 | | |
575 | 583 | | |
576 | 584 | | |
| |||
586 | 594 | | |
587 | 595 | | |
588 | 596 | | |
| 597 | + | |
589 | 598 | | |
590 | 599 | | |
591 | 600 | | |
| |||
0 commit comments