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

Function explicit_missing_input_is_an_error

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

Source from the content-addressed store, hash-verified

7664
7665 #[test]
7666 fn explicit_missing_input_is_an_error() {
7667 let input =
7668 std::env::temp_dir().join(format!("fastled_lint_missing_input_{}", std::process::id()));
7669 let error = collect_input_files(Path::new("."), &[path_to_string(&input)])
7670 .unwrap_err()
7671 .to_string();
7672 assert!(error.contains("input path not found"));
7673 }
7674
7675 #[test]
7676 fn unmatched_input_pattern_is_an_error() {

Callers

nothing calls this directly

Calls 3

collect_input_filesFunction · 0.85
path_to_stringFunction · 0.85
to_stringMethod · 0.45

Tested by

no test coverage detected