Commit f15279e
committed
fix: force basic line editor in init tests for CI compatibility
Thor prefers Readline when available, which reads from the real terminal
fd instead of $stdin. In CI there's no terminal, so Readline returns nil.
Stub Readline.available? to false so Thor falls back to Basic editor
which reads from $stdin (the StringIO in tests).1 parent 1c201df commit f15279e
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
0 commit comments