-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtest: support carriage returns in tests.
This allows carriage returns to be specified in tests which allows multiline tests to be written i.e. by using Ctrl-V Enter to put a literal carriage return (^M) into the test definition. The effect of this is to send a single string to the REPL that contains newlines which normally can't be done because readline behavior will split it into two separate lines.
- Loading branch information
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters