diff --git a/src/robot.rs b/src/robot.rs index aef374c..4db9b8e 100644 --- a/src/robot.rs +++ b/src/robot.rs @@ -247,5 +247,6 @@ mod test { assert_eq!(true, allow_access("User-agent: Xbot\nDisallow: /z", "XBot/3.2.1", "/")); assert_eq!(true, allow_access("User-agent: Xbot\nDisallow: /z", "XBot/3.2.1", "/w")); assert_eq!(false, allow_access("User-agent: Xbot\nDisallow: /", "XBot", "/")); + assert_eq!(false, allow_access("User-agent: Xbot\nDisallow: /", "xbot", "/")); } } \ No newline at end of file