diff --git a/cli/tools/fmt.rs b/cli/tools/fmt.rs index 32f0ec990e..7f7256e203 100644 --- a/cli/tools/fmt.rs +++ b/cli/tools/fmt.rs @@ -442,7 +442,6 @@ pub fn format_html( _ => { let mut typescript_config_builder = get_typescript_config_builder(fmt_options); - eprintln!("indent level {}", hints.indent_level); typescript_config_builder.file_indent_level(hints.indent_level); let mut typescript_config = typescript_config_builder.build(); typescript_config.line_width = hints.print_width as u32; @@ -845,8 +844,6 @@ fn format_ensure_stable( if next_pass_text == current_text { return Ok(Some(next_pass_text)); } - eprintln!("current text {}", current_text); - eprintln!("next pass test {}", next_pass_text); current_text = next_pass_text; } Ok(None) => { diff --git a/foo1.html b/foo1.html deleted file mode 100644 index c2fc2e9a34..0000000000 --- a/foo1.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - Demo - - - - - \ No newline at end of file diff --git a/foo2.html b/foo2.html deleted file mode 100644 index 3a7d3a7194..0000000000 --- a/foo2.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - diff --git a/foo3.html b/foo3.html deleted file mode 100644 index 3eb6d59813..0000000000 --- a/foo3.html +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/tests/specs/fmt/html/__test__.jsonc b/tests/specs/fmt/html/__test__.jsonc index 0fe5f1f53e..96b7f4ed92 100644 --- a/tests/specs/fmt/html/__test__.jsonc +++ b/tests/specs/fmt/html/__test__.jsonc @@ -14,7 +14,7 @@ "output": "broken.out" }, "with_js": { - "args": "fmt with_js.html", + "args": "fmt --check with_js.html", "output": "Checked 1 file\n" } } diff --git a/tests/specs/fmt/html/with_js.html b/tests/specs/fmt/html/with_js.html index 4572ac2fe3..d956c6728b 100644 --- a/tests/specs/fmt/html/with_js.html +++ b/tests/specs/fmt/html/with_js.html @@ -1,9 +1,9 @@ - - - - \ No newline at end of file + + + +