Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t4205: sort log output in a hash-independent way
[gitweb.git]
/
t
/
t4051-diff-function-context.sh
diff --git
a/t/t4051-diff-function-context.sh
b/t/t4051-diff-function-context.sh
index 3e6b485ecba1a59e3d69edc3ac5a6f0f1d327bd3..2d76a971c43f6850a1f443eab3e91bf3762fe952 100755
(executable)
--- a/
t/t4051-diff-function-context.sh
+++ b/
t/t4051-diff-function-context.sh
@@
-85,6
+85,10
@@
test_expect_success 'setup' '
check_diff changed_hello 'changed function'
+test_expect_success ' context includes comment' '
+ grep "^ .*Hello comment" changed_hello.diff
+'
+
test_expect_success ' context includes begin' '
grep "^ .*Begin of hello" changed_hello.diff
'