From af9b8aca8f04256259980f7dc59a5ba27aa1a803 Mon Sep 17 00:00:00 2001 From: lucashorward Date: Mon, 4 May 2020 14:29:39 +0200 Subject: [PATCH] Format --- tests/all/manifest.rs | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/tests/all/manifest.rs b/tests/all/manifest.rs index c7c5ec7..032520f 100644 --- a/tests/all/manifest.rs +++ b/tests/all/manifest.rs @@ -260,10 +260,11 @@ fn it_creates_a_package_json_with_correct_files_when_out_name_is_provided() { assert_eq!(pkg.side_effects, false); let actual_files: HashSet = pkg.files.into_iter().collect(); - let expected_files: HashSet = ["index_bg.wasm", "index_bg.js", "index.d.ts", "index.js"] - .iter() - .map(|&s| String::from(s)) - .collect(); + let expected_files: HashSet = + ["index_bg.wasm", "index_bg.js", "index.d.ts", "index.js"] + .iter() + .map(|&s| String::from(s)) + .collect(); assert_eq!(actual_files, expected_files); } @@ -304,10 +305,14 @@ fn it_creates_a_package_json_with_correct_keys_when_types_are_skipped() { assert_eq!(pkg.module, "js_hello_world.js"); let actual_files: HashSet = pkg.files.into_iter().collect(); - let expected_files: HashSet = ["js_hello_world_bg.wasm", "js_hello_world_bg.js", "js_hello_world.js"] - .iter() - .map(|&s| String::from(s)) - .collect(); + let expected_files: HashSet = [ + "js_hello_world_bg.wasm", + "js_hello_world_bg.js", + "js_hello_world.js", + ] + .iter() + .map(|&s| String::from(s)) + .collect(); assert_eq!(actual_files, expected_files); }