Commit 4b070e30 authored by Thiago Farina's avatar Thiago Farina

gn: Fix some typos in unittests.

SubstitutionPatterm -> SubstitutionPattern
SubstutitionWriter -> SubstitutionWriter

BUG=None
TEST=ninja -C out/Debug gn_unittests - compare the output before and
after this change.
TBR=brettw@chromium.org

Review URL: https://codereview.chromium.org/590683002

Cr-Commit-Position: refs/heads/master@{#295846}
parent bbc867ae
......@@ -16,7 +16,7 @@ TEST(SubstitutionPattern, ParseLiteral) {
EXPECT_EQ("This is a literal", pattern.ranges()[0].literal);
}
TEST(SubstitutionPatterm, ParseComplex) {
TEST(SubstitutionPattern, ParseComplex) {
SubstitutionPattern pattern;
Err err;
EXPECT_TRUE(pattern.Parse(
......
......@@ -59,7 +59,7 @@ TEST(SubstitutionWriter, ApplyPatternToSourceAsOutputFile) {
ASSERT_EQ("gen/foo/bar/myfile.tmp", result.value());
}
TEST(SubstutitionWriter, WriteNinjaVariablesForSource) {
TEST(SubstitutionWriter, WriteNinjaVariablesForSource) {
TestWithScope setup;
std::vector<SubstitutionType> types;
......@@ -101,7 +101,7 @@ TEST(SubstitutionWriter, WriteWithNinjaVariables) {
out.str());
}
TEST(SubstutitionWriter, SourceSubstitutions) {
TEST(SubstitutionWriter, SourceSubstitutions) {
TestWithScope setup;
// Call to get substitutions relative to the build dir.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment