Skip to content

Commit 1667cdc

Browse files
authored
test(ci): normalize setup overwrite assertion (#898)
Signed-off-by: phernandez <paul@basicmachines.co>
1 parent f916662 commit 1667cdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/cli/test_ci_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def test_setup_does_not_partially_write_generated_files_when_target_exists(
213213
)
214214

215215
assert result.exit_code == 1
216-
assert "pass --force to overwrite" in result.output
216+
assert "pass --force to overwrite" in " ".join(result.output.split())
217217
assert not (tmp_path / ".github/workflows/basic-memory.yml").exists()
218218
assert not (tmp_path / ".github/basic-memory/memory-ci-capture.md").exists()
219219
mock_seed.assert_not_awaited()

0 commit comments

Comments
 (0)