threads / patch / 3273

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

Subject: [PATCH] Fix t9000-init.sh - comment for initial commit is different

## tl;dr

One message between Feb 9, 2006 and Feb 9, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Pavel Roskin· Feb 9, 2006, 10:01 UTC · lore
[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 <proski@gnu.org>
---
 t/t9000-init.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Show changes to t/t9000-init.sh +2 −1
diff --git a/t/t9000-init.sh b/t/t9000-init.sh
index aef2587..b3b9df3 100755
--- a/t/t9000-init.sh
+++ b/t/t9000-init.sh
@@ -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' \
-- 
Regards,
Pavel Roskin

← back to recent threads