Skip to content

Commit

Permalink
Merge pull request #2 from EdwardBetts:spelling
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 265011180
  • Loading branch information
epere4 committed Aug 23, 2019
2 parents 8f43d89 + 6cdd130 commit f1b6cb8
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-koster-rep#section-2.2.2
TEST(RobotsUnittest, ID_AllowDisallow_Value_CaseSensitive) {
Expand Down

0 comments on commit f1b6cb8

Please sign in to comment.