You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the conventional way of testing rustyline's behaviour? I cannot find any way to DI an input stream/ output stream so would have to override those within the cargo tests.
What is advised?
The text was updated successfully, but these errors were encountered:
If your input stream is not considered a tty, you will not be able to test rustyline's behaviour.
Not tested but it seems possible to use rexpect (see #253).
Another way would be to specify your own Terminal but currently you cannot.
What is the conventional way of testing rustyline's behaviour? I cannot find any way to DI an input stream/ output stream so would have to override those within the cargo tests.
What is advised?
The text was updated successfully, but these errors were encountered: