test-rebase-inmemory-mergedriver: make the test output more stable

Summary:
Write output using `ui` object instead of using `print` to improve
robustness.

Reviewed By: xavierd

Differential Revision: D19743159

fbshipit-source-id: d0e8d581c65a79784b9843d691c4802ec37d5933
This commit is contained in:
Saurabh Singh 2020-02-05 08:48:51 -08:00 committed by Facebook Github Bot
parent a092c71abc
commit de006ecee1

View File

@ -61,7 +61,7 @@ Next, off of BASE, make an API change to the driver.
> VERSION = "NEW"
>
> def someFunction(repo, new_required_arg):
> print("new_required_arg = %s" % new_required_arg)
> repo.ui.write("new_required_arg = %s\n" % new_required_arg)
> pass
> EOF
$ $TESTDIR/seq.py 1 11 > FILE