Skip to content

Commit

Permalink
Update tests/run-make/unstable-feature-usage-metrics/rmake.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
  • Loading branch information
yaahc and estebank authored Nov 20, 2024
1 parent dc97db1 commit 0a14f71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/run-make/unstable-feature-usage-metrics/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ fn test_metrics_dump() {
let json_path =
metrics.pop().expect("there should be one metrics file in the output directory");

assert_eq!(
0,
metrics.len(),
// After the `pop` above, there should be no files left.
assert!(
metrics.is_empty(),
"there should be no more than one metrics file in the output directory"
);

Expand Down

0 comments on commit 0a14f71

Please sign in to comment.