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.
2 parents a575776 + 3a34636 commit 35567d3Copy full SHA for 35567d3
src/bors/command/parser.rs
@@ -1049,6 +1049,21 @@ line two
1049
);
1050
}
1051
1052
+ // Make sure that foo\\* gets parsed as foo*, so that people can escape * to avoid weird
1053
+ // rendering on GitHub.
1054
+ #[test]
1055
+ fn parse_try_jobs_glob_3() {
1056
+ let cmds = parse_commands("@bors try jobs=\\*x86_64-msvc\\*,foo\\*");
1057
+ assert_eq!(cmds.len(), 1);
1058
+ assert_eq!(
1059
+ cmds[0],
1060
+ Ok(BorsCommand::Try {
1061
+ parent: None,
1062
+ jobs: vec!["*x86_64-msvc*".to_string(), "foo*".to_string()]
1063
+ })
1064
+ );
1065
+ }
1066
+
1067
#[test]
1068
fn parse_try_jobs_empty() {
1069
let cmds = parse_commands("@bors try jobs=");
0 commit comments