<commit_before># /tests/IWYUTargetSourcesVerify.cmake
# Check that include-what-you-use was run on both the
# header and sources files.
#
# See LICENCE.md for Copyright information

include (${IWYU_CMAKE_TESTS_DIRECTORY}/CMakeUnit.cmake)
set (BUILD_OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/BUILD.output)

assert_file_has_line_matching (${BUILD_OUTPUT}
	                           "^.*include-what-you-use.*Source.cpp.*$")
assert_file_has_line_matching (${BUILD_OUTPUT}
	                           "^.*include-what-you-use.*Header.h.*$")<commit_msg>Convert tabs to spaces in IWYUTargetSourcesVerify<commit_after># /tests/IWYUTargetSourcesVerify.cmake
# Check that include-what-you-use was run on both the
# header and sources files.
#
# See LICENCE.md for Copyright information

include (${IWYU_CMAKE_TESTS_DIRECTORY}/CMakeUnit.cmake)
set (BUILD_OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/BUILD.output)

assert_file_has_line_matching (${BUILD_OUTPUT}
                               "^.*include-what-you-use.*Source.cpp.*$")
assert_file_has_line_matching (${BUILD_OUTPUT}
                               "^.*include-what-you-use.*Header.h.*$")
{'fraction_non_alphanumeric': 0.12078152753108348, 'fraction_numerical': 0.0, 'mean_word_length': 3.5813008130081303, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5089527', 'n_tokens_mistral': 379, 'n_tokens_neox': 370, 'n_words': 64}