Skip to content

Commit bb52194

Browse files
committed
Fix remote Travis config extraction
The remote Travis config extraction searches the rustfmt README for the line above the Travis config. That line was modified in rust-lang/rustfmt#4554. This commit incorporates that change into the config extraction logic.
1 parent 0065c45 commit bb52194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/config_validation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fn get_remote_config() -> String {
2525
let parser = Parser::new(&remote_config)
2626
.skip_while(|event| match event {
2727
&Event::Text(ref s) => s
28-
!= "A minimal Travis setup could look like this (requires Rust 1.24.0 or greater):",
28+
!= "A minimal Travis setup could look like this (requires Rust 1.31.0 or greater):",
2929
_ => true,
3030
})
3131
.skip_while(|event| match event {

0 commit comments

Comments
 (0)