()
| 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() { |
nothing calls this directly
no test coverage detected