Skip to content

Commit 788db14

Browse files
Denton-Lgitster
authored andcommitted
t/README: avoid poor-man's small caps GIT
In 48a8c26 (Documentation: avoid poor-man's small caps GIT, 2013-01-21), the documentation was amended to spell Git's name as Git when talking about the system as a whole. However, t/README was skipped over when the treatment was applied. Bring t/README into conformance with the CodingGuidelines by casing "Git" properly. While we're at it, fix a small typo. Change "the git internal" to "the Git internals". Signed-off-by: Denton Liu <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent af6b65d commit 788db14

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

t/README

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Core GIT Tests
1+
Core Git Tests
22
==============
33

4-
This directory holds many test scripts for core GIT tools. The
4+
This directory holds many test scripts for core Git tools. The
55
first part of this short document describes how to run the tests
66
and read their output.
77

@@ -1080,21 +1080,21 @@ Tips for Writing Tests
10801080
As with any programming projects, existing programs are the best
10811081
source of the information. However, do _not_ emulate
10821082
t0000-basic.sh when writing your tests. The test is special in
1083-
that it tries to validate the very core of GIT. For example, it
1083+
that it tries to validate the very core of Git. For example, it
10841084
knows that there will be 256 subdirectories under .git/objects/,
10851085
and it knows that the object ID of an empty tree is a certain
10861086
40-byte string. This is deliberately done so in t0000-basic.sh
10871087
because the things the very basic core test tries to achieve is
1088-
to serve as a basis for people who are changing the GIT internal
1088+
to serve as a basis for people who are changing the Git internals
10891089
drastically. For these people, after making certain changes,
10901090
not seeing failures from the basic test _is_ a failure. And
1091-
such drastic changes to the core GIT that even changes these
1091+
such drastic changes to the core Git that even changes these
10921092
otherwise supposedly stable object IDs should be accompanied by
10931093
an update to t0000-basic.sh.
10941094

10951095
However, other tests that simply rely on basic parts of the core
1096-
GIT working properly should not have that level of intimate
1097-
knowledge of the core GIT internals. If all the test scripts
1096+
Git working properly should not have that level of intimate
1097+
knowledge of the core Git internals. If all the test scripts
10981098
hardcoded the object IDs like t0000-basic.sh does, that defeats
10991099
the purpose of t0000-basic.sh, which is to isolate that level of
11001100
validation in one place. Your test also ends up needing

0 commit comments

Comments
 (0)