Skip to content

Commit 192aca2

Browse files
committed
fix(test): emit valid cross-platform TOML basic string escape sequences
1 parent a030a52 commit 192aca2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test_offline_builder.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def test_cli_discovers_configured_repository(tmp_path: Path, monkeypatch: pytest
6666
assert tomllib.loads(plugin_config.read_text(encoding="utf-8"))["storage"]["path"] == "custom-backups"
6767
assert _default_repository() == tmp_path / "custom-backups" / "repo"
6868
plugin_config.write_text(
69-
f'[storage]\\npath = {json.dumps(str(tmp_path / "absolute"))}\\n', encoding="utf-8"
69+
f'[storage]\npath = {json.dumps(str(tmp_path / "absolute"))}\n', encoding="utf-8"
7070
)
7171
assert _default_repository() == tmp_path / "absolute" / "repo"
7272
assert build_parser().parse_args(["--repo", "manual/repo", "list"]).repo == Path("manual/repo")

0 commit comments

Comments
 (0)