summaryrefslogtreecommitdiffhomepage
path: root/test/unit/check/go.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2022-12-12 16:24:54 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2022-12-12 16:24:54 +0000
commit648e91a623d3822e8ab4780b452da211ea3ba257 (patch)
treee1a91306c321c93844b0411a10ac3bf55e8410af /test/unit/check/go.py
parentf67a01b88fd7c7057767e18a3dd06c24e94c8aa8 (diff)
downloadunit-648e91a623d3822e8ab4780b452da211ea3ba257.tar.gz
unit-648e91a623d3822e8ab4780b452da211ea3ba257.tar.bz2
Tests: pretty output.
Hide expected alerts by default. Silence succesfull "go build" information.
Diffstat (limited to '')
-rw-r--r--test/unit/check/go.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/unit/check/go.py b/test/unit/check/go.py
index 3d9d13e7..09ae641d 100644
--- a/test/unit/check/go.py
+++ b/test/unit/check/go.py
@@ -2,7 +2,5 @@ from unit.applications.lang.go import TestApplicationGo
def check_go():
- process = TestApplicationGo.prepare_env('empty')
-
- if process != None and process.returncode == 0:
+ if TestApplicationGo.prepare_env('empty') is not None:
return True