Skip to content

💫 Toolkit to help you get started with SDD or any other process!

test(presets): normalize whitespace in resolve output assertion to prevent terminal line-wrap failures (#4166)

aoright671c6034a855
diff --git a/tests/test_presets.py b/tests/test_presets.py
index dcb7de2d0..9775e0afa 100644
--- a/tests/test_presets.py
+++ b/tests/test_presets.py
@@ -13672,7 +13672,7 @@ class TestInstalledPresetRichMarkup:
)
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."""