]> git.notmuchmail.org Git - notmuch/blobdiff - test/README
test: require test_begin_subtest before test_expect_code
[notmuch] / test / README
index 7acdb4b81f4d89b769af41e271759448e0183f03..dcd05237a0623c859af0ae67e033994137dd0d54 100644 (file)
@@ -200,6 +200,11 @@ library for your script to use.
    <script>.  If it yields success, test is considered
    successful.
 
+ test_expect_code <code> <script>
+
+   This takes two strings as parameter, and evaluates the <script>.
+   If it yields <code> exit status, test is considered successful.
+
  test_subtest_known_broken
 
    Mark the current test as broken.  Such tests are expected to fail.