From e8489100398e71cd8180073b7c82a9e42560af02 Mon Sep 17 00:00:00 2001 From: Gabriel Scherer Date: Fri, 22 Dec 2023 15:47:51 +0100 Subject: [PATCH] testsuite: avoids 4-indented code blocks that pass for test output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported-By: Nicolás Ojeda Bär --- tests.t/run.t | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests.t/run.t b/tests.t/run.t index 3f9b00c..0e8dc30 100644 --- a/tests.t/run.t +++ b/tests.t/run.t @@ -2,7 +2,9 @@ To run the tests, run - dune runtest +``` +dune runtest +``` from the root of the project directory. If this outputs 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 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 not produce a diff -- the recorded output should match your