mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-07 00:36:13 +02:00
Fix for tests not handling multiple input prompts
This commit is contained in:
parent
9d9f61ac1e
commit
79142bf651
4 changed files with 25 additions and 7 deletions
|
@ -126,7 +126,7 @@ def run_with_input(context, command, inputs=""):
|
|||
if context.text:
|
||||
text = iter(context.text.split("\n"))
|
||||
else:
|
||||
text = iter([inputs])
|
||||
text = iter(inputs.split(" "))
|
||||
|
||||
args = ushlex(command)[1:]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue