Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ortham committed Jun 18, 2024
1 parent fadd741 commit 3518102
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1766,7 +1766,10 @@ mod tests {

#[test]
fn is_light_plugin_should_be_true_for_a_plugin_with_the_light_flag_set() {
let mut plugin = Plugin::new(GameId::Starfield, Path::new("testing-plugins/Starfield/Data/Blank.small.esm"));
let mut plugin = Plugin::new(
GameId::Starfield,
Path::new("testing-plugins/Starfield/Data/Blank.small.esm"),
);
assert!(plugin.parse_file(true).is_ok());
assert!(plugin.is_light_plugin());
}
Expand All @@ -1783,7 +1786,10 @@ mod tests {

#[test]
fn is_medium_plugin_should_be_true_for_a_plugin_with_the_medium_flag_set() {
let mut plugin = Plugin::new(GameId::Starfield, Path::new("testing-plugins/Starfield/Data/Blank.medium.esm"));
let mut plugin = Plugin::new(
GameId::Starfield,
Path::new("testing-plugins/Starfield/Data/Blank.medium.esm"),
);
assert!(plugin.parse_file(true).is_ok());
assert!(plugin.is_medium_plugin());
}
Expand Down

0 comments on commit 3518102

Please sign in to comment.