mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
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:
parent
b88812e338
commit
ca42b02813
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user