Marco Ricci commited on 2025-02-11 18:18:41
Zeige 1 geänderte Dateien mit 2 Einfügungen und 1 Löschungen.
The test only ever really acts on the whitespace-trimmed notes, so write it as such.
... | ... |
@@ -2578,7 +2578,8 @@ class TestCLI: |
2578 | 2578 |
placement_args: list[str], |
2579 | 2579 |
notes: str, |
2580 | 2580 |
) -> None: |
2581 |
- maybe_notes = {'notes': notes.strip()} if notes.strip() else {} |
|
2581 |
+ notes = notes.strip() |
|
2582 |
+ maybe_notes = {'notes': notes} if notes else {} |
|
2582 | 2583 |
vault_config = { |
2583 | 2584 |
'global': {'phrase': DUMMY_PASSPHRASE}, |
2584 | 2585 |
'services': { |
2585 | 2586 |