From 3c63047a070671bcf4b0ce9910e1e1444e561ba6 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Fri, 28 Jun 2024 11:26:53 +0200 Subject: [PATCH] Fix minor issue in json conversion checker --- test/tools/test_all_collections.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/tools/test_all_collections.py b/test/tools/test_all_collections.py index 58ff2fc0e..1fbdd3e6d 100644 --- a/test/tools/test_all_collections.py +++ b/test/tools/test_all_collections.py @@ -21,8 +21,7 @@ def test(yamlfile_path, cxxfile_path): datatypes_found = [] with open(cxxfile_path, mode='r', encoding="utf-8") as cxxfile: - for cxxline in cxxfile: - cxxline = cxxfile.readline() + for cxxline in cxxfile.readlines(): result = re.search('insertIntoJson', cxxline) if result: