From cf6046cc62a23122e389a5f7ee3e5cc8bcd3aa9e Mon Sep 17 00:00:00 2001 From: Mex <44814932+MMexicann@users.noreply.github.com> Date: Sat, 21 Nov 2026 18:55:37 +0100 Subject: [PATCH] Check roundtrip progress on the supplied error stream --- apps/cadcraft-cli/tests/it/usage.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/cadcraft-cli/tests/it/usage.rs b/apps/cadcraft-cli/tests/it/usage.rs index bf3d6797d..64c7c9a80 100644 --- a/apps/cadcraft-cli/tests/it/usage.rs +++ b/apps/cadcraft-cli/tests/it/usage.rs @@ -949,3 +949,11 @@ fn json_output_is_pretty_unless_compact() { assert_eq!(r.stdout.lines().count(), 2, "one line per --cmd result: {}", r.stdout); assert_eq!(invoke(&["run", "--sample", "--compact"]).code, 2, "run takes no --compact"); } + +#[test] +fn roundtrip_progress_uses_the_requested_stderr() { + run_cases( + "roundtrip-progress", + &[case("roundtrip progress", &["roundtrip", "{b}", "--same-format", "--no-census"], 0, Starts("b.dxf: opened;"), Line("[1/1] b.dxf"))], + ); +}