Skip to content

Commit db30e71

Browse files
committed
Verify that we ignore non-config json files
1 parent 250a1de commit db30e71

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tools/test/resources/mbed-os.lib/TARGET_FRDM/modules.json

Whitespace-only changes.

tools/test/resources/resource_test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ def test_filter_by_bm_lib(self):
126126
join("mbed-os", "platform", "bm", "bm.cpp")
127127
in res.get_file_names(FileType.CPP_SRC)
128128
)
129+
assert(
130+
join("mbed-os", "TARGET_FRDM", "not-main.cpp")
131+
in res.get_file_names(FileType.CPP_SRC)
132+
)
129133

130134

131135
if __name__ == '__main__':

0 commit comments

Comments
 (0)