aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/missing-headers
diff options
context:
space:
mode:
Diffstat (limited to 'test/missing-headers')
-rwxr-xr-xtest/missing-headers8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/missing-headers b/test/missing-headers
index 43e861bc..cb38301c 100755
--- a/test/missing-headers
+++ b/test/missing-headers
@@ -95,7 +95,7 @@ Body
test_begin_subtest "Show: json"
output=$(notmuch show --format=json '*' | notmuch_json_show_sanitize)
-test_expect_equal_json "$output" '
+expected=$(notmuch_json_show_sanitize <<EOF
[
[
[
@@ -156,7 +156,9 @@ test_expect_equal_json "$output" '
[]
]
]
-]'
-
+]
+EOF
+)
+test_expect_equal_json "$output" "$expected"
test_done