testsuite: avoids 4-indented code blocks that pass for test output

Reported-By: Nicolás Ojeda Bär
This commit is contained in:
Gabriel Scherer 2023-12-22 15:47:51 +01:00
parent fce7844414
commit e848910039

View File

@ -2,7 +2,9 @@
To run the tests, run To run the tests, run
dune runtest ```
dune runtest
```
from the root of the project directory. If this outputs from the root of the project directory. If this outputs
nothing, the testsuite passes. If this outputs a diff, it nothing, the testsuite passes. If this outputs a diff, it
@ -12,8 +14,10 @@ output and the behavior of your program.
To *promote* the tests outputs (that is, to modify the reference To *promote* the tests outputs (that is, to modify the reference
output to match the current behavior of your program), run output to match the current behavior of your program), run
dune runtest ```
dune promote dune runtest
dune promote
```
When you submit your project, please check that `dune runtest` does When you submit your project, please check that `dune runtest` does
not produce a diff -- the recorded output should match your not produce a diff -- the recorded output should match your