Skip to content

Commit

Permalink
Merge pull request #2433 from davidalber/unhork-snippet-tests
Browse files Browse the repository at this point in the history
Fixing path to Configurations.md
  • Loading branch information
topecongiro authored Feb 12, 2018
2 parents 4af4927 + b8f0adb commit a6982b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustfmt-core/tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ fn configuration_snippet_tests() {
// entry for each Rust code block found.
fn get_code_blocks() -> Vec<ConfigCodeBlock> {
let mut file_iter = BufReader::new(
fs::File::open(CONFIGURATIONS_FILE_NAME)
fs::File::open(Path::new("..").join(CONFIGURATIONS_FILE_NAME))
.expect(&format!("Couldn't read file {}", CONFIGURATIONS_FILE_NAME)),
).lines()
.map(|l| l.unwrap())
Expand Down

0 comments on commit a6982b1

Please sign in to comment.