diff options
author | René Scharfe <l.s.r@web.de> | 2014-03-22 18:15:55 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-24 15:12:44 -0700 |
commit | 31a8189ad1a0ab6e933cdafb560c513632028d59 (patch) | |
tree | 506987723895882c75f54cda79690645900918a8 /t/t4209-log-pickaxe.sh | |
parent | 65a3402f427e76e50e540dbfbe2317d5c66a537d (diff) | |
download | git-31a8189ad1a0ab6e933cdafb560c513632028d59.tar.gz |
t4209: use helper functions to test --author
Also add tests for case sensitive and non-matching cases.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4209-log-pickaxe.sh')
-rwxr-xr-x | t/t4209-log-pickaxe.sh | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/t/t4209-log-pickaxe.sh b/t/t4209-log-pickaxe.sh index eaa14a057c..138118add1 100755 --- a/t/t4209-log-pickaxe.sh +++ b/t/t4209-log-pickaxe.sh @@ -60,15 +60,10 @@ test_log expect_nomatch --grep InItial test_log_icase expect_initial --grep InItial test_log_icase expect_nomatch --grep initail -test_expect_success 'log --author --regexp-ignore-case' ' - git log --regexp-ignore-case --author=person --format=%H >actual && - test_cmp expect_second actual -' - -test_expect_success 'log --author -i' ' - git log -i --author=person --format=%H >actual && - test_cmp expect_second actual -' +test_log expect_second --author Person +test_log expect_nomatch --author person +test_log_icase expect_second --author person +test_log_icase expect_nomatch --author spreon test_log expect_nomatch -G picked test_log expect_second -G Picked |