Skip to content

Commit

Permalink
Cargo fmt test was complaining
Browse files Browse the repository at this point in the history
  • Loading branch information
koenichiwa committed Aug 10, 2023
1 parent dbc3a95 commit ad02359
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,11 @@ mod tests {

macro_rules! test_case {
($fname:expr) => {
PathBuf::from(concat!(env!("CARGO_MANIFEST_DIR"), "/tests/resources/", $fname))
PathBuf::from(concat!(
env!("CARGO_MANIFEST_DIR"),
"/tests/resources/",
$fname
))
// PathBuf::from_iter([env!("CARGO_MANIFEST_DIR"),"/tests/resources/"])
};
}
Expand Down Expand Up @@ -680,7 +684,7 @@ mod tests {

#[test]
fn load_complex_launch_events_1_plist() {
eprintln!("{:?}",test_case!("launchevents-1.plist"));
eprintln!("{:?}", test_case!("launchevents-1.plist"));
let test = Launchd::from_file(test_case!("launchevents-1.plist")).unwrap();

match test.launch_events {
Expand Down

0 comments on commit ad02359

Please sign in to comment.