sapling/tests/testutil
Jun Wu 8beb778255 testutil/dott: fix translator dropping redirections
Summary:
In case there are multiple commands in a line, and the first command uses
redirections:

  foo > bar && baz

The `> bar` got lost after translation. This is because the same `opts` Python
object (including `> bar` information) was returned and it was mutated.

Solve it by returning a copy of `opts` per command.

Reviewed By: xavierd

Differential Revision: D16452936

fbshipit-source-id: a7ab55cc44ebe628817f821412576e17f6f68a6f
2019-07-24 14:32:23 -07:00
..
dott testutil/dott: fix translator dropping redirections 2019-07-24 14:32:23 -07:00
__init__.py
argspans.py
autofix.py testutil/dott: remove indentation from heredoc 2019-07-17 21:11:29 -07:00