Skip to content

Commit

Permalink
Update naga/tests/example_wgsl.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Erich Gubler <[email protected]>
  • Loading branch information
cwfitzgerald and ErichDonGubler authored Feb 21, 2025
1 parent 59ae9f9 commit 8ed1ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion naga/tests/example_wgsl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub fn parse_example_wgsl() {
}
}

assert_ne!(example_paths.len(), 0, "No examples found!");
assert!(!example_paths.is_empty(), "No examples found!");

println!("Found {} examples", example_paths.len());

Expand Down

0 comments on commit 8ed1ebd

Please sign in to comment.