Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 28, 2023
1 parent 73fabf6 commit 2caed0d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/dbg-swc/src/util/minifier.rs
Expand Up @@ -70,7 +70,7 @@ pub fn get_terser_output(file: &Path, compress: bool, mangle: bool) -> Result<St
if mangle {
cmd.arg("--mangle");
}
cmd.arg("--comments false");
cmd.args(["--comments", "false"]);
cmd.arg("--");
cmd.arg(file);

Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/test262.rs
Expand Up @@ -81,7 +81,7 @@ const IGNORED_PASS_TESTS: &[&str] = &[
"ce569e89a005c02a.js",
];

fn add_test<F: FnOnce() + Send + 'static>(
fn add_test<F: FnOnce() -> Result<(), String> + Send + 'static>(
tests: &mut Vec<TestDescAndFn>,
name: String,
ignore: bool,
Expand Down
2 changes: 2 additions & 0 deletions crates/swc_estree_compat/tests/convert.rs
Expand Up @@ -90,6 +90,8 @@ fn fixtures() -> Result<(), Error> {
})
};
run_test(input, output, syntax, is_module);

Ok(())
})
})),
})
Expand Down

0 comments on commit 2caed0d

Please sign in to comment.