diff --git a/parser/src/command.rs b/parser/src/command.rs index 2e645863..226aa7d9 100644 --- a/parser/src/command.rs +++ b/parser/src/command.rs @@ -350,7 +350,13 @@ fn review_errors() { #[test] fn review_ignored() { // Checks for things that shouldn't be detected. - for input in ["r", "reviewer? abc", "r foo"] { + for input in [ + "r", + "reviewer? abc", + "r foo", + "\n r? @bot\n", + "", + ] { let mut input = Input::new(input, vec!["bot"]); assert_eq!(input.next(), None); }