Skip to content

Commit

Permalink
Fix spelling errors in names of tests
Browse files Browse the repository at this point in the history
Reported-by: Jens Schleusener <Jens.Schleusener@fossies.org>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
newren authored and gitster committed Nov 10, 2019
1 parent 7a40cf1 commit 4dc8b1c
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 26 deletions.
6 changes: 3 additions & 3 deletions t/t1050-large.sh
Expand Up @@ -194,15 +194,15 @@ test_expect_success 'pack-objects with large loose object' '
test_cmp huge actual
'

test_expect_success 'tar achiving' '
test_expect_success 'tar archiving' '
git archive --format=tar HEAD >/dev/null
'

test_expect_success 'zip achiving, store only' '
test_expect_success 'zip archiving, store only' '
git archive --format=zip -0 HEAD >/dev/null
'

test_expect_success 'zip achiving, deflate' '
test_expect_success 'zip archiving, deflate' '
git archive --format=zip HEAD >/dev/null
'

Expand Down
20 changes: 10 additions & 10 deletions t/t4041-diff-submodule-option.sh
Expand Up @@ -284,7 +284,7 @@ test_expect_success 'submodule contains untracked content (all ignored)' '
test_must_be_empty actual
'

test_expect_success 'submodule contains untracked and modifed content' '
test_expect_success 'submodule contains untracked and modified content' '
echo new > sm1/foo6 &&
git diff-index -p --submodule=log HEAD >actual &&
cat >expected <<-EOF &&
Expand All @@ -294,7 +294,7 @@ test_expect_success 'submodule contains untracked and modifed content' '
test_cmp expected actual
'

test_expect_success 'submodule contains untracked and modifed content (untracked ignored)' '
test_expect_success 'submodule contains untracked and modified content (untracked ignored)' '
echo new > sm1/foo6 &&
git diff-index -p --ignore-submodules=untracked --submodule=log HEAD >actual &&
cat >expected <<-EOF &&
Expand All @@ -303,19 +303,19 @@ test_expect_success 'submodule contains untracked and modifed content (untracked
test_cmp expected actual
'

test_expect_success 'submodule contains untracked and modifed content (dirty ignored)' '
test_expect_success 'submodule contains untracked and modified content (dirty ignored)' '
echo new > sm1/foo6 &&
git diff-index -p --ignore-submodules=dirty --submodule=log HEAD >actual &&
test_must_be_empty actual
'

test_expect_success 'submodule contains untracked and modifed content (all ignored)' '
test_expect_success 'submodule contains untracked and modified content (all ignored)' '
echo new > sm1/foo6 &&
git diff-index -p --ignore-submodules --submodule=log HEAD >actual &&
test_must_be_empty actual
'

test_expect_success 'submodule contains modifed content' '
test_expect_success 'submodule contains modified content' '
rm -f sm1/new-file &&
git diff-index -p --submodule=log HEAD >actual &&
cat >expected <<-EOF &&
Expand Down Expand Up @@ -369,7 +369,7 @@ test_expect_success 'modified submodule contains untracked content (all ignored)
test_must_be_empty actual
'

test_expect_success 'modified submodule contains untracked and modifed content' '
test_expect_success 'modified submodule contains untracked and modified content' '
echo modification >> sm1/foo6 &&
git diff-index -p --submodule=log HEAD >actual &&
cat >expected <<-EOF &&
Expand All @@ -381,7 +381,7 @@ test_expect_success 'modified submodule contains untracked and modifed content'
test_cmp expected actual
'

test_expect_success 'modified submodule contains untracked and modifed content (untracked ignored)' '
test_expect_success 'modified submodule contains untracked and modified content (untracked ignored)' '
echo modification >> sm1/foo6 &&
git diff-index -p --ignore-submodules=untracked --submodule=log HEAD >actual &&
cat >expected <<-EOF &&
Expand All @@ -392,7 +392,7 @@ test_expect_success 'modified submodule contains untracked and modifed content (
test_cmp expected actual
'

test_expect_success 'modified submodule contains untracked and modifed content (dirty ignored)' '
test_expect_success 'modified submodule contains untracked and modified content (dirty ignored)' '
echo modification >> sm1/foo6 &&
git diff-index -p --ignore-submodules=dirty --submodule=log HEAD >actual &&
cat >expected <<-EOF &&
Expand All @@ -402,13 +402,13 @@ test_expect_success 'modified submodule contains untracked and modifed content (
test_cmp expected actual
'

test_expect_success 'modified submodule contains untracked and modifed content (all ignored)' '
test_expect_success 'modified submodule contains untracked and modified content (all ignored)' '
echo modification >> sm1/foo6 &&
git diff-index -p --ignore-submodules --submodule=log HEAD >actual &&
test_must_be_empty actual
'

test_expect_success 'modified submodule contains modifed content' '
test_expect_success 'modified submodule contains modified content' '
rm -f sm1/new-file &&
git diff-index -p --submodule=log HEAD >actual &&
cat >expected <<-EOF &&
Expand Down
2 changes: 1 addition & 1 deletion t/t4057-diff-combined-paths.sh
Expand Up @@ -33,7 +33,7 @@ test_expect_success 'trivial merge - combine-diff empty' '
'


test_expect_success 'only one trully conflicting path' '
test_expect_success 'only one truly conflicting path' '
git checkout side &&
for i in $(test_seq 2 9)
do
Expand Down
2 changes: 1 addition & 1 deletion t/t4205-log-pretty-formats.sh
Expand Up @@ -640,7 +640,7 @@ test_expect_success 'pretty format %(trailers:key=foo) multiple keys' '
test_cmp expect actual
'

test_expect_success '%(trailers:key=nonexistant) becomes empty' '
test_expect_success '%(trailers:key=nonexistent) becomes empty' '
git log --no-walk --pretty="x%(trailers:key=Nacked-by)x" >actual &&
echo "xx" >expect &&
test_cmp expect actual
Expand Down
2 changes: 1 addition & 1 deletion t/t5535-fetch-push-symref.sh
@@ -1,6 +1,6 @@
#!/bin/sh

test_description='avoiding conflicting update thru symref aliasing'
test_description='avoiding conflicting update through symref aliasing'

. ./test-lib.sh

Expand Down
6 changes: 3 additions & 3 deletions t/t5702-protocol-v2.sh
Expand Up @@ -32,7 +32,7 @@ test_expect_success 'list refs with git:// using protocol v2' '
test_cmp expect actual
'

test_expect_success 'ref advertisment is filtered with ls-remote using protocol v2' '
test_expect_success 'ref advertisement is filtered with ls-remote using protocol v2' '
test_when_finished "rm -f log" &&
GIT_TRACE_PACKET="$(pwd)/log" git -c protocol.version=2 \
Expand Down Expand Up @@ -154,7 +154,7 @@ test_expect_success 'list refs with file:// using protocol v2' '
test_cmp expect actual
'

test_expect_success 'ref advertisment is filtered with ls-remote using protocol v2' '
test_expect_success 'ref advertisement is filtered with ls-remote using protocol v2' '
test_when_finished "rm -f log" &&
GIT_TRACE_PACKET="$(pwd)/log" git -c protocol.version=2 \
Expand Down Expand Up @@ -225,7 +225,7 @@ test_expect_success 'fetch with file:// using protocol v2' '
grep "fetch< version 2" log
'

test_expect_success 'ref advertisment is filtered during fetch using protocol v2' '
test_expect_success 'ref advertisement is filtered during fetch using protocol v2' '
test_when_finished "rm -f log" &&
test_commit -C file_parent three &&
Expand Down
2 changes: 1 addition & 1 deletion t/t7004-tag.sh
Expand Up @@ -1420,7 +1420,7 @@ test_expect_success \
get_tag_header reuse $commit commit $time >expect
echo "An annotation to be reused" >> expect
test_expect_success \
'overwriting an annoted tag should use its previous body' '
'overwriting an annotated tag should use its previous body' '
git tag -a -m "An annotation to be reused" reuse &&
GIT_EDITOR=true git tag -f -a reuse &&
get_tag_msg reuse >actual &&
Expand Down
2 changes: 1 addition & 1 deletion t/t7508-status.sh
Expand Up @@ -1571,7 +1571,7 @@ test_expect_success '"status.showStash=true" weaker than "--no-show-stash"' '
test_cmp expected_without_stash actual
'

test_expect_success 'no additionnal info if no stash entries' '
test_expect_success 'no additional info if no stash entries' '
git stash clear &&
git -c status.showStash=true status >actual &&
test_cmp expected_without_stash actual
Expand Down
2 changes: 1 addition & 1 deletion t/t7513-interpret-trailers.sh
Expand Up @@ -1234,7 +1234,7 @@ test_expect_success 'with simple command' '
test_cmp expected actual
'

test_expect_success 'with command using commiter information' '
test_expect_success 'with command using committer information' '
git config trailer.sign.ifExists "addIfDifferent" &&
git config trailer.sign.command "echo \"\$GIT_COMMITTER_NAME <\$GIT_COMMITTER_EMAIL>\"" &&
cat complex_message_body >expected &&
Expand Down
2 changes: 1 addition & 1 deletion t/t9001-send-email.sh
Expand Up @@ -1260,7 +1260,7 @@ test_expect_success $PREREQ 'sendemail.identity: --no-identity clears previous i
grep "To: default@example.com" stdout
'

test_expect_success $PREREQ 'sendemail.identity: bool identity variable existance overrides' '
test_expect_success $PREREQ 'sendemail.identity: bool identity variable existence overrides' '
git -c sendemail.identity=cloud \
-c sendemail.xmailer=true \
-c sendemail.cloud.xmailer=false \
Expand Down
2 changes: 1 addition & 1 deletion t/t9301-fast-import-notes.sh
Expand Up @@ -275,7 +275,7 @@ $whitespace
third note for first commit
EXPECT_END

test_expect_success 'add concatentation notes with M command' '
test_expect_success 'add concatenation notes with M command' '
git fast-import <input &&
GIT_NOTES_REF=refs/notes/test git log | grep "^ " > actual &&
Expand Down
4 changes: 2 additions & 2 deletions t/t9902-completion.sh
Expand Up @@ -378,7 +378,7 @@ test_expect_success '__gitdir - finds repo' '
'


test_expect_success '__gitdir - returns error when cant find repo' '
test_expect_success '__gitdir - returns error when cannot find repo' '
(
__git_dir="non-existing" &&
test_must_fail __gitdir >"$actual"
Expand Down Expand Up @@ -945,7 +945,7 @@ test_expect_success 'setup for filtering matching refs' '
rm -f .git/FETCH_HEAD
'

test_expect_success '__git_refs - dont filter refs unless told so' '
test_expect_success '__git_refs - do not filter refs unless told so' '
cat >expected <<-EOF &&
HEAD
master
Expand Down

0 comments on commit 4dc8b1c

Please sign in to comment.