cram icon indicating copy to clipboard operation
cram copied to clipboard

Ignore indented lines that aren't part of a test

Open pjeby opened this issue 6 years ago • 2 comments

Currently, cram treats any indented line as though it were part of test output, even if it's not adjacent to a command, continuation, or other output line. This PR makes it ignore lines that are not part of a test or its output, even if they are at the same indent level.

pjeby avatar Nov 06 '17 15:11 pjeby

Please note that the build failure here is caused by the pep8 deprecation warning; with the changes in #30, this code actually passes the tests. (And of course it adds a regression test for the change.)

pjeby avatar Nov 06 '17 17:11 pjeby

This is implemented in Dram (https://git.sr.ht/~rne/dram).

roman-neuhauser avatar Nov 08 '20 15:11 roman-neuhauser