mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
379d5e5490
Summary: Comparing to `.t` tests, `dott` Python tests cannot autofix commands without outputs. This diff makes it able to do so. It's less strict than the AST parsing (for example, it does not handle `#` comments precisely). But practically it might be good enough. We can update it to use real AST parsing if it becomes an issue. This should make `dott` Python tests easier to use. Reviewed By: xavierd Differential Revision: D17277285 fbshipit-source-id: 11ef6ec4327a6547d49b544c63bc000a3c351947 |
||
---|---|---|
.. | ||
dott | ||
__init__.py | ||
argspans.py | ||
autofix.py |