diff --git a/pkgs/id/src/cli/tests.rs b/pkgs/id/src/cli/tests.rs index 369838884..26e0f88f7 100644 --- a/pkgs/id/src/cli/tests.rs +++ b/pkgs/id/src/cli/tests.rs @@ -897,7 +897,6 @@ fn test_cli_verify() { Cli::command().debug_assert(); } -#[test] #[test] fn test_cli_rejects_zero_result_limits() { std::thread::Builder::new() diff --git a/pkgs/id/src/commands/find.rs b/pkgs/id/src/commands/find.rs index e38674b10..e962b56d9 100644 --- a/pkgs/id/src/commands/find.rs +++ b/pkgs/id/src/commands/find.rs @@ -1050,7 +1050,6 @@ mod tests { assert_eq!(download_output_path(None, "/tmp/x").unwrap(), "x"); } - #[test] #[test] fn test_download_output_path_dash_name_is_not_the_stdout_sentinel() { // A match-derived "-" must name a file, not the stdout sentinel; diff --git a/pkgs/id/src/commands/serve.rs b/pkgs/id/src/commands/serve.rs index 3d814c970..8b1f69056 100644 --- a/pkgs/id/src/commands/serve.rs +++ b/pkgs/id/src/commands/serve.rs @@ -3579,7 +3579,6 @@ mod tests { assert!(err.to_string().contains("--port"), "{err}"); } - #[test] #[test] fn test_web_content_target_program_rejects_empty_world() { // #2146 phase 1: a program target is a world name; an empty diff --git a/pkgs/id/src/repl/runner.rs b/pkgs/id/src/repl/runner.rs index 0a2ffbd89..26ebefbba 100644 --- a/pkgs/id/src/repl/runner.rs +++ b/pkgs/id/src/repl/runner.rs @@ -1887,7 +1887,6 @@ mod tests { assert_eq!(cmd_parts, vec!["list", "@invalid"]); } - #[test] #[test] fn test_parse_rejects_zero_result_limits() { // #3059: explicit zero limits are errors at the REPL boundary. diff --git a/pkgs/id/src/web/markdown.rs b/pkgs/id/src/web/markdown.rs index a35e201f4..d94810b94 100644 --- a/pkgs/id/src/web/markdown.rs +++ b/pkgs/id/src/web/markdown.rs @@ -3511,6 +3511,7 @@ mod tests { assert_eq!(first, second, "literal-context round-trip is a fixpoint"); } + #[test] fn test_footnote_roundtrip_fixpoint() { // #945: a footnote reference + definition round-trip open->save // intact — emitted as [^label] syntax, never backslash-escaped, @@ -3544,7 +3545,6 @@ mod tests { assert_eq!(first, second, "multi-footnote round-trip is a fixpoint"); } - #[test] #[test] fn test_unreferenced_footnote_definition_survives_save() { // #1565: a definition nothing references is dropped by comrak diff --git a/pkgs/id/src/web/templates.rs b/pkgs/id/src/web/templates.rs index 2b2e994e7..3565f4097 100644 --- a/pkgs/id/src/web/templates.rs +++ b/pkgs/id/src/web/templates.rs @@ -1518,7 +1518,6 @@ mod tests { assert!(html.contains("/assets/styles.def67890.css")); } - #[test] #[test] fn test_render_program_page_pins_the_world_and_omits_host_controls() { let html = render_program_page(&AssetUrls::default(), "arena", Some("/ws/world"));