Skip to content

Commit

Permalink
fix: this time linter is happy
Browse files Browse the repository at this point in the history
  • Loading branch information
0x471 authored and smoelius committed Dec 29, 2024
1 parent 4d7c0ef commit 26f242b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ mod test {

if let Some(file_name) = normalized_path.file_name().and_then(OsStr::to_str) {
if forbidden_files_general.contains(&file_name) {
panic!(
assert!(
!forbidden_files_general.contains(&file_name),
"Forbidden file `.gitignore` found in examples directory: {}",
normalized_path.display()
);
Expand Down

0 comments on commit 26f242b

Please sign in to comment.