From aba09c670222d1406ea797bfec1e0626949a0f15 Mon Sep 17 00:00:00 2001 From: aoright <102943475+aoright@users.noreply.github.com> Date: Mon, 17 Aug 2026 16:50:10 +0800 Subject: [PATCH] test(presets): normalize whitespace in resolve output assertion to prevent terminal line-wrap failures Signed-off-by: aoright <102943475+aoright@users.noreply.github.com> --- tests/test_presets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_presets.py b/tests/test_presets.py index dcb7de2d0a..9775e0afa9 100644 --- a/tests/test_presets.py +++ b/tests/test_presets.py @@ -13672,7 +13672,7 @@ def test_resolve_accepts_dotted_command_name(self, project_dir): ) assert result.exit_code == 0, (result.output, result.exception) - assert "constitution.md" in strip_ansi(result.output) + assert "constitution.md" in "".join(strip_ansi(result.output).split()) def test_resolve_rejects_empty_command_segments(self, project_dir): """Dotted command identifiers cannot contain empty path-like segments."""