Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Runtime tests: Allow multiline PROGs and EXPECTs
The previous options had some downsides: - Define the program/expected results in an external file: Out-of-line definitions add barriers to quickly understanding tests and to adding new tests - Use EXPECT_REGEX: Hard to read due to escape characters and being squashed onto a single line - Use multiple EXPECTs: Do not enforce ordering of output lines
- Loading branch information
Showing
4 changed files
with
42 additions
and
14 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
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
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
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