diff options
author | Duncaen <mail@duncano.de> | 2017-03-31 16:10:43 +0200 |
---|---|---|
committer | Duncaen <mail@duncano.de> | 2017-03-31 16:10:47 +0200 |
commit | b960d5e3cc1abd1849ef6c0019f16ab7dd77e52a (patch) | |
tree | 3215ac0466314d28619bd005908a678d4699d480 /t/2000-mpick.t | |
parent | 08ea54953ffdac34e60b2d93b0777324413f737d (diff) | |
download | mblaze-b960d5e3cc1abd1849ef6c0019f16ab7dd77e52a.tar.gz mblaze-b960d5e3cc1abd1849ef6c0019f16ab7dd77e52a.tar.xz mblaze-b960d5e3cc1abd1849ef6c0019f16ab7dd77e52a.zip |
t: add check_test
Diffstat (limited to 't/2000-mpick.t')
-rwxr-xr-x | t/2000-mpick.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/2000-mpick.t b/t/2000-mpick.t index 90dacb8..26735d0 100755 --- a/t/2000-mpick.t +++ b/t/2000-mpick.t @@ -61,8 +61,8 @@ Greetings ! check 'search subject' 'mlist inbox | mpick /wow | grep -q inbox/cur/9:2,' -check 'search addr' 'mlist inbox | mpick peter@example.org | wc -l | grep -qx 2' -check 'search name' 'mlist inbox | mpick "Peter Example" | wc -l | grep -qx 2' -check 'search spam' 'mlist inbox | mpick -t "trashed && subject =~ \"pdf\"" | wc -l | grep -qx 1' +check_test 'search addr' -eq 2 'mlist inbox | mpick peter@example.org | wc -l' +check_test 'search name' -eq 2 'mlist inbox | mpick "Peter Example" | wc -l' +check_test 'search spam' -eq 1 'mlist inbox | mpick -t "trashed && subject =~ \"pdf\"" | wc -l' ) |