Fix t9000-init.sh - comment for initial commit is different
PATCH 1/1 Fix t9000-init.sh - comment for initial commit is different
[PATCH] Fix t9000-init.sh - comment for initial commit is different
Comment for initial commit has "Initial commit" prepended to it now. Update test to match.
Signed-off-by Pavel Roskin <[email protected]>
---
t/t9000-init.sh | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
t/t9000-init.sh +2 -1
@@ -37,7 +37,8 @@ test_expect_success 'initialize with the test_expect_success 'check if we have a commit' \ '[ -s .git/refs/heads/master ] && cg-object-id -c HEAD' test_expect_success 'check if the commit is proper' \ - '[ "$(git-cat-file commit HEAD | sed -n '\''/^parent/q; /^$/{n; :a p; n; b a}'\'')" = "silly commit message" ]' + '[ "$(git-cat-file commit HEAD | sed -n '\''/^parent/q; /^$/{n; :a p; n; b a}'\'')" = "Initial commit +silly commit message" ]' test_expect_success 'check if we have populated index' \ '[ "$(git-ls-files | tr '\''\n'\'' " ")" = "file1 file2 " ]' test_expect_success 'blow away the repository' \
Signature · 2 lines
Regards, Pavel Roskin