style: apply rustfmt
This commit is contained in:
1 parent
7723716e18
commit
a58e6fb76d
20 files changed
+114
-83
No files matched your search
@@ -383,8 +383,13 @@ mod tests {
|
||||
#[test]
|
||||
fn parse_add_opens_extracts_module_args() {
|
||||
let tmp = tempfile::tempdir().unwrap();
|
||||
let manifest = b"Manifest-Version: 1.0\nAdd-Opens: java.base/java.lang java.base/java.util\n";
|
||||
let zip_path = make_zip(tmp.path(), "patches.zip", &[("META-INF/MANIFEST.MF", manifest)]);
|
||||
let manifest =
|
||||
b"Manifest-Version: 1.0\nAdd-Opens: java.base/java.lang java.base/java.util\n";
|
||||
let zip_path = make_zip(
|
||||
tmp.path(),
|
||||
"patches.zip",
|
||||
&[("META-INF/MANIFEST.MF", manifest)],
|
||||
);
|
||||
let args = parse_add_opens(&zip_path).expect("parsed");
|
||||
assert_eq!(
|
||||
args,
|
||||
|
||||
Reference in new issue
Block a user