summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2021-12-29 21:12:41 +0100
committerGitHub <noreply@github.com>2021-12-29 21:12:41 +0100
commitee360022f8a4a540039bbdf7e10a0c7c586a90ce (patch)
treeea44bcc4e14267f230dbc34d5676d6a5afa1e134
parentf0e734cd30db752e401e76316b4e08b6a9b1abab (diff)
parent4f363609e04cf842930c2d5276f0ad93c2945e7b (diff)
downloadninja-ee360022f8a4a540039bbdf7e10a0c7c586a90ce.tar.gz
Merge pull request #2062 from maruel/typos
Fix two typos
-rw-r--r--src/build_test.cc2
-rw-r--r--src/ninja_test.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/build_test.cc b/src/build_test.cc
index 326a7d6..4ef62b2 100644
--- a/src/build_test.cc
+++ b/src/build_test.cc
@@ -2355,7 +2355,7 @@ struct BuildWithDepsLogTest : public BuildTest {
void* builder_;
};
-/// Run a straightforwad build where the deps log is used.
+/// Run a straightforward build where the deps log is used.
TEST_F(BuildWithDepsLogTest, Straightforward) {
string err;
// Note: in1 was created by the superclass SetUp().
diff --git a/src/ninja_test.cc b/src/ninja_test.cc
index b40e176..6720dec 100644
--- a/src/ninja_test.cc
+++ b/src/ninja_test.cc
@@ -67,7 +67,7 @@ void Usage() {
"usage: ninja_tests [options]\n"
"\n"
"options:\n"
-" --gtest_filter=POSTIVE_PATTERN[-NEGATIVE_PATTERN]\n"
+" --gtest_filter=POSITIVE_PATTERN[-NEGATIVE_PATTERN]\n"
" Run tests whose names match the positive but not the negative pattern.\n"
" '*' matches any substring. (gtest's ':', '?' are not implemented).\n");
}