Skip to content

Commit

Permalink
Correct spelling mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardBetts authored and epere4 committed Jul 11, 2019
1 parent 59f3643 commit aa2df6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion robots.h
Expand Up @@ -176,7 +176,7 @@ class RobotsMatcher : protected RobotsParseHandler {
// This structure stores the information associated with a match (e.g. when a
// Disallow is matched) as priority of the match and line matching.
//
// The priority is inialized with a negative value to make sure that a match
// The priority is initialized with a negative value to make sure that a match
// of priority 0 is higher priority than no match at all.
class Match {
private:
Expand Down
2 changes: 1 addition & 1 deletion robots_test.cc
Expand Up @@ -248,7 +248,7 @@ TEST(RobotsUnittest, ID_GlobalGroups_Secondary) {
EXPECT_TRUE(IsUserAgentAllowed(robotstxt_only_specific, "QuxBot", url));
}

// Matching rules againt URIs is case sensitive.
// Matching rules against URIs is case sensitive.
// See REP I-D section "The Allow and Disallow lines".
// https://tools.ietf.org/html/draft-rep-wg-topic#section-2.2.2
TEST(RobotsUnittest, ID_AllowDisallow_Value_CaseSensitive) {
Expand Down

0 comments on commit aa2df6b

Please sign in to comment.