summaryrefslogtreecommitdiffhomepage
path: root/test/unit/check/njs.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/check/njs.py')
-rw-r--r--test/unit/check/njs.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/check/njs.py b/test/unit/check/njs.py
index 433473a1..363a1b62 100644
--- a/test/unit/check/njs.py
+++ b/test/unit/check/njs.py
@@ -2,5 +2,4 @@ import re
def check_njs(output_version):
- if re.search('--njs', output_version):
- return True
+ return re.search('--njs', output_version)