about summary refs log tree commit diff
path: root/t/2000-mpick.t
diff options
context:
space:
mode:
Diffstat (limited to 't/2000-mpick.t')
-rwxr-xr-xt/2000-mpick.t6
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'
 
 )