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 4af4927 + b8f0adb commit a6982b1Copy full SHA for a6982b1
rustfmt-core/tests/lib.rs
@@ -792,7 +792,7 @@ fn configuration_snippet_tests() {
792
// entry for each Rust code block found.
793
fn get_code_blocks() -> Vec<ConfigCodeBlock> {
794
let mut file_iter = BufReader::new(
795
- fs::File::open(CONFIGURATIONS_FILE_NAME)
+ fs::File::open(Path::new("..").join(CONFIGURATIONS_FILE_NAME))
796
.expect(&format!("Couldn't read file {}", CONFIGURATIONS_FILE_NAME)),
797
).lines()
798
.map(|l| l.unwrap())
0 commit comments