We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b083539 commit df76e71Copy full SHA for df76e71
src/bors/command/parser.rs
@@ -517,6 +517,32 @@ mod tests {
517
"#);
518
}
519
520
+ #[test]
521
+ fn parse_approve_empty_reviewer() {
522
+ let cmds = parse_commands("@bors r=");
523
+ assert_eq!(cmds.len(), 1);
524
+ insta::assert_debug_snapshot!(cmds[0], @r#"
525
+ Err(
526
+ MissingArgValue {
527
+ arg: "r",
528
+ },
529
+ )
530
+ "#);
531
+ }
532
+
533
534
+ fn parse_approve_space_after_r() {
535
+ let cmds = parse_commands("@bors r= user1");
536
537
538
539
540
541
542
543
544
545
546
#[test]
547
fn parse_approve_with_priority() {
548
let cmds = parse_commands("@bors r+ p=1");
0 commit comments