Reverse the polarity to fix a bug.

This commit is contained in:
bcsgh 2025-03-18 18:11:14 -07:00
parent 0383d14b76
commit bb4ac3c6c4
2 changed files with 2 additions and 4 deletions

View File

@ -3,8 +3,6 @@ filegroup(
srcs = glob(["data/**", "jsonchecker/**"], exclude=["**/*.json"]),
)
########
[py_test(
name = "runjson_%s_test" % "_".join(f.split("/")),
srcs = ["runjsontests.py"],

View File

@ -102,8 +102,8 @@ def runAllTests(jsontest_executable_path, input_path = None,
tests = [
test for test in tests
if os.path.basename(test) not in known and
os.path.basename(os.path.dirname(test)) == "jsonchecker"
if os.path.basename(test) not in known or
os.path.basename(os.path.dirname(test)) != "jsonchecker"
]
failed_tests = []