sapling/tests/testutil
Jun Wu 379d5e5490 testutil/dott: implement autofix for commands without outputs
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
2019-09-10 13:01:32 -07:00
..
dott testutil/dott: implement autofix for commands without outputs 2019-09-10 13:01:32 -07:00
__init__.py
argspans.py
autofix.py testutil/dott: implement autofix for commands without outputs 2019-09-10 13:01:32 -07:00