testutil/dott: fix test command

Summary: The "succeed" code path was missing in the `test` command.

Reviewed By: xavierd

Differential Revision: D16452921

fbshipit-source-id: a276b774c528edaf60e0ecbbad00c15ddd8ba1d1
This commit is contained in:
Jun Wu 2019-07-24 14:15:16 -07:00 committed by Facebook Github Bot
parent b88812e338
commit ca42b02813

View File

@ -180,7 +180,9 @@ def test(*args):
result = func(arg)
if neg:
result = not result
if not result:
if result:
return ""
else:
return "[1]"
raise NotImplementedError("test not fully implemented")