Fixing path to Configurations.md
Issue #2419 changed the directory in which `configuration_snippet_tests` runs, which broke the test. Since the test is currently annotated with `#[ignore]`, the break wasn't caught before merge.
This commit is contained in:
parent
4af4927318
commit
b8f0adb40d
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue