Website Summary Files Commits Branches @commit @diff @stats
path: root / tests / t0111-filter.sh
diff options
context:
space:
mode:
Commit3741254a6989b2837cd8d20480f152f0096bcb9a (patch)
Author
 Lukas Fleischer <cgit@cryptocrack.de>
2014-01-15 23:11:19 +0100
Committer
 Jason A. Donenfeld <Jason@zx2c4.com>
2014-01-16 00:53:18 +0100
Files5997134d4aaff3ccade061c8cce6de85cbf3ed88 /tests/t0111-filter.sh
cgit-3741254a6989b2837cd8d20480f152f0096bcb9a.tar
cgit-3741254a6989b2837cd8d20480f152f0096bcb9a.tar.gz
cgit-3741254a6989b2837cd8d20480f152f0096bcb9a.zip
Parent2a7dd4bf67edeff2c6c4f6d6d39d2d7f954d978a (diff)
t0111: Additions and fixes
* Rename the capitalize-* filters to dump.* since they also dump the arguments. * Add full argument validation to the email filters. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
1 files changed, 2 insertions, 2 deletions
-rwxr-xr-xtests/t0111-filter.sh4
diff --git a/tests/t0111-filter.sh b/tests/t0111-filter.sh
index c89020a..730f1c0 100755
--- a/tests/t0111-filter.sh
+++ b/tests/t0111-filter.sh
@@ -30,11 +30,11 @@ do
'
test_expect_success "check whether the $prefix email filter works for authors" '
- grep "A U THOR &LT;AUTHOR@EXAMPLE.COM&GT;" tmp
+ grep "<author@example.com> commit A U THOR &LT;AUTHOR@EXAMPLE.COM&GT;" tmp
'
test_expect_success "check whether the $prefix email filter works for committers" '
- grep "C O MITTER &LT;COMMITTER@EXAMPLE.COM&GT;" tmp
+ grep "<committer@example.com> commit C O MITTER &LT;COMMITTER@EXAMPLE.COM&GT;" tmp
'
done