From 4f363609e04cf842930c2d5276f0ad93c2945e7b Mon Sep 17 00:00:00 2001 From: Marc-Antoine Ruel Date: Tue, 28 Dec 2021 15:12:48 -0500 Subject: Fix two typos One in ninja_test usage text, the other in a unit test comment. --- src/build_test.cc | 2 +- src/ninja_test.cc | 2 +- 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"); } -- cgit v1.2.1