Skip to contentSkip to conversation

Fix t9000-init.sh - comment for initial commit is different

PATCH New Pavel Roskin 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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.

---

 t/t9000-init.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
t/t9000-init.sh +2 -1
index aef2587..b3b9df3 100755
@@ -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