]> granicus.if.org Git - neomutt/commitdiff
acutest: update with latest upstream (documentation fixes)
authorPietro Cerutti <gahr@gahr.ch>
Tue, 27 Mar 2018 16:49:55 +0000 (16:49 +0000)
committerPietro Cerutti <gahr@gahr.ch>
Tue, 27 Mar 2018 16:49:55 +0000 (16:49 +0000)
test/acutest.h

index 79bb0936393f0430d2fabaa15d562017d871a6dc..e27490a8564cfa99bfdf10d65e60ffce87be62cf 100644 (file)
 /* printf-like macro for outputting an extra information about a failure.
  *
  * Note it does not output anything if there was not (yet) failed condition
- * in the current test. Intended use is to output some computated output
+ * in the current test. Intended use is to output some computed output
  * versus the expected value, e.g. like this:
  *
- *   if(!TEST_CHECK(produced != expected) == 0)) {
+ *   if(!TEST_CHECK(produced == expected)) {
  *       TEST_MSG("Expected: %d", expected);
  *       TEST_MSG("Produced: %d", produced);
  *   }