test: Add error message to editor file extension assertion

This commit is contained in:
Paul Gauthier 2025-02-24 11:45:48 -08:00 committed by Paul Gauthier (aider)
parent 3fd4a2841a
commit ea0ee96398

View file

@ -109,7 +109,7 @@ with open("{log_path}", "w") as f:
called_args = f.read().strip() called_args = f.read().strip()
# Verify the editor was called with a .md file # Verify the editor was called with a .md file
assert called_args.endswith(".md") assert called_args.endswith(".md"), called_args
finally: finally:
# Clean up # Clean up