diff options
| author | Tomi Ollila <tomi.ollila@iki.fi> | 2017-01-05 00:35:23 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-01-27 22:02:36 -0400 |
| commit | f8d5c9b80ebeac65a93c80ec2a0d3e514f8ea771 (patch) | |
| tree | e23ca3cd2d406a1603e362f62e52391fe7d28712 /test/T070-insert.sh | |
| parent | 70519319b59ca55d511c5b44ff8c299cbe93c572 (diff) | |
test: wrap 'wc -l' results in arithmetic evaluation to strip whitespace
Some new unwrapped 'wc -l's have been added since Jani's 60e79e3a9f1c8
Diffstat (limited to 'test/T070-insert.sh')
| -rwxr-xr-x | test/T070-insert.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/T070-insert.sh b/test/T070-insert.sh index 7e04a23d..3dd76737 100755 --- a/test/T070-insert.sh +++ b/test/T070-insert.sh @@ -60,7 +60,7 @@ test_expect_equal_json "$output" "$expected" test_begin_subtest "Insert duplicate message" notmuch insert +duptag -unread < "$gen_msg_filename" -output=$(notmuch search --output=files "subject:insert-subject" | wc -l) +output=$((`notmuch search --output=files "subject:insert-subject" | wc -l`)) test_expect_equal "$output" 2 test_begin_subtest "Duplicate message does not change tags" |
