Skip to content

Commit bb4ac3c

Browse files
committed
Reverse the polarity to fix a bug.
1 parent 0383d14 commit bb4ac3c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

test/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ filegroup(
33
srcs = glob(["data/**", "jsonchecker/**"], exclude=["**/*.json"]),
44
)
55

6-
########
7-
86
[py_test(
97
name = "runjson_%s_test" % "_".join(f.split("/")),
108
srcs = ["runjsontests.py"],

test/runjsontests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ def runAllTests(jsontest_executable_path, input_path = None,
102102

103103
tests = [
104104
test for test in tests
105-
if os.path.basename(test) not in known and
106-
os.path.basename(os.path.dirname(test)) == "jsonchecker"
105+
if os.path.basename(test) not in known or
106+
os.path.basename(os.path.dirname(test)) != "jsonchecker"
107107
]
108108

109109
failed_tests = []

0 commit comments

Comments
 (0)