]> git.cworth.org Git - notmuch/blobdiff - test/T070-insert.sh
lib/sexp: special case "" as an argument in lastmod ranges.
[notmuch] / test / T070-insert.sh
index 9d29c859fc5df3b9f5e32ac66fa0e5023c47a1ee..e1e3b151565d2ebc6016b7f97cf63db24e5f7382 100755 (executable)
@@ -235,7 +235,6 @@ test_json_nodes <<<"$output" \
                'new_tags:[0][0][0]["tags"] = ["bar", "foo"]'
 
 test_begin_subtest "leading/trailing whitespace in new.tags is ignored"
-test_subtest_known_broken
 # avoid complications with leading spaces and "notmuch config"
 sed -i 's/^tags=.*$/tags= fu bar ; ; bar /' notmuch-config
 gen_insert_msg
@@ -293,4 +292,9 @@ for code in OUT_OF_MEMORY XAPIAN_EXCEPTION ; do
     test_expect_code 0 "notmuch_with_shim shim-$code insert --keep < \"$gen_msg_filename\""
 done
 
+test_begin_subtest "insert converts mboxes on delivery"
+notmuch insert +unmboxed < "${TEST_DIRECTORY}"/corpora/indexing/mbox-attachment.eml
+output=$(notmuch count tag:unmboxed)
+test_expect_equal "${output}" 1
+
 test_done