Skip to content

Commit 9dc9d4e

Browse files
committed
don't suppress code files that begin with the word test
1 parent 8c1aabe commit 9dc9d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arduino_ci/cpp_library.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def cpp_files_in(some_dir)
3232

3333
# CPP files that are part of the project library under test
3434
def cpp_files
35-
cpp_files_in(@base_dir).reject { |p| p.start_with?(tests_dir) }
35+
cpp_files_in(@base_dir).reject { |p| p.start_with?(tests_dir + File::SEPARATOR) }
3636
end
3737

3838
# CPP files that are part of the arduino mock library we're providing

0 commit comments

Comments
 (0)