diff --git a/changelog.d/8356-fmt-after-8343.md b/changelog.d/8356-fmt-after-8343.md new file mode 100644 index 0000000000..bfa2b7fe76 --- /dev/null +++ b/changelog.d/8356-fmt-after-8343.md @@ -0,0 +1 @@ +Apply `cargo fmt` to `crates/perry/tests/cjs_wrap_builtin_require.rs` after #8343, which landed from a fork branch that could not be amended in place. diff --git a/crates/perry/tests/cjs_wrap_builtin_require.rs b/crates/perry/tests/cjs_wrap_builtin_require.rs index 940e1086a7..122843d641 100644 --- a/crates/perry/tests/cjs_wrap_builtin_require.rs +++ b/crates/perry/tests/cjs_wrap_builtin_require.rs @@ -89,9 +89,7 @@ console.log("join:", typeof path.join, path.join("a", "b")); }; assert_eq!( stdout, - format!( - "platform: {expected_platform}\ncpus: function\njoin: function a/b\n" - ) + format!("platform: {expected_platform}\ncpus: function\njoin: function a/b\n") ); } @@ -130,9 +128,7 @@ module.exports = { platform: node_process.platform }; }; assert_eq!( stdout, - format!( - "node_process.platform: {expected_platform}\nnode_os.cpus: function\n" - ) + format!("node_process.platform: {expected_platform}\nnode_os.cpus: function\n") ); } @@ -163,8 +159,6 @@ console.log("join:", join("a", "b")); }; assert_eq!( stdout, - format!( - "platform: {expected_platform}\narch: string\njoin: a/b\n" - ) + format!("platform: {expected_platform}\narch: string\njoin: a/b\n") ); }