X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Flong-id;h=85e620fadd404f8c3ffaf4e4316f4f469e0fb943;hp=1f55d716cacf514fcfe3cd71c693eb9aa20d1d44;hb=7b0d53a9064161f2f0f4f88fefd64133d089222e;hpb=4813ee41d63e8bb6f699303be3123be12dfde3f5 diff --git a/test/long-id b/test/long-id index 1f55d716..85e620fa 100755 --- a/test/long-id +++ b/test/long-id @@ -1,5 +1,5 @@ -#!/bin/bash -test_description="Testing messages with ridiculously-long message IDs" +#!/usr/bin/env bash +test_description="messages with ridiculously-long message IDs" . ./test-lib.sh test_begin_subtest "Referencing long ID before adding" @@ -21,7 +21,7 @@ output=$(NOTMUCH_NEW) test_expect_equal "$output" "Added 1 new message to the database." test_begin_subtest "Ensure all messages were threaded together" -output=$($NOTMUCH search 'subject:"a ridiculously-long message ID"' | notmuch_search_sanitize) +output=$(notmuch search 'subject:"a ridiculously-long message ID"' | notmuch_search_sanitize) test_expect_equal "$output" "thread:XXX 2001-01-05 [1/3] Notmuch Test Suite; A ridiculously-long message ID (inbox unread)" test_done