]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.sh
cli/show: list all filenames of a message in the formatted output
[notmuch] / test / test-lib.sh
index bb32e97b2af747b35a2db1d82b44d6cc8333d244..d8e159437ca9b8fa159e2a776260adc36025e86a 100644 (file)
@@ -745,7 +745,7 @@ notmuch_json_show_sanitize ()
        -e 's|"id": "[^"]*",|"id": "XXXXX",|g' \
        -e 's|"Date": "Fri, 05 Jan 2001 [^"]*0000"|"Date": "GENERATED_DATE"|g' \
        -e 's|"filename": "signature.asc",||g' \
-       -e 's|"filename": "/[^"]*",|"filename": "YYYYY",|g' \
+       -e 's|"filename": \["/[^"]*"\],|"filename": \["YYYYY"\],|g' \
        -e 's|"timestamp": 97.......|"timestamp": 42|g' \
         -e 's|"content-length": [1-9][0-9]*|"content-length": "NONZERO"|g'
 }