MCPcopy Create free account
hub / github.com/FastLED/FastLED / unmatched_input_pattern_is_an_error

Function unmatched_input_pattern_is_an_error

ci/lint_cpp_rs/src/lib.rs:7676–7686  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7674
7675 #[test]
7676 fn unmatched_input_pattern_is_an_error() {
7677 let temp_dir = normalize_path(&path_to_string(&std::env::temp_dir()));
7678 let input = format!(
7679 "{temp_dir}/fastled_lint_missing_pattern_{}/*.h",
7680 std::process::id()
7681 );
7682 let error = collect_input_files(Path::new("."), &[input])
7683 .unwrap_err()
7684 .to_string();
7685 assert!(error.contains("input pattern matched no files"));
7686 }
7687
7688 #[test]
7689 fn banned_macros_ignores_string_literals() {

Callers

nothing calls this directly

Calls 4

path_to_stringFunction · 0.85
collect_input_filesFunction · 0.85
normalize_pathFunction · 0.70
to_stringMethod · 0.45

Tested by

no test coverage detected