Skip to content

Commit

Permalink
cargo fmt 🤖
Browse files Browse the repository at this point in the history
  • Loading branch information
MGibson1 committed Sep 19, 2024
1 parent eba645e commit 7cedc78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion languages/language_tests/src/e2e_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ fn load_data() -> Result<E2EData> {
// Get working directory
let data_path = var("TEST_DATA_FILE").context("TEST_DATA_FILE env var not set")?;

Check warning on line 97 in languages/language_tests/src/e2e_data.rs

View check run for this annotation

Codecov / codecov/patch

languages/language_tests/src/e2e_data.rs#L97

Added line #L97 was not covered by tests
// read e2e data from file
let file = File::open(data_path.clone()).context(format!("Failed to open e2e data file at {}", data_path))?;
let file = File::open(data_path.clone())
.context(format!("Failed to open e2e data file at {}", data_path))?;

Check warning on line 100 in languages/language_tests/src/e2e_data.rs

View check run for this annotation

Codecov / codecov/patch

languages/language_tests/src/e2e_data.rs#L99-L100

Added lines #L99 - L100 were not covered by tests
let reader = BufReader::new(file);

let data: E2EData = serde_json::from_reader(reader).context("Failed to parse e2e data")?;
Expand Down

0 comments on commit 7cedc78

Please sign in to comment.