Update tests/run-make/unstable-feature-usage-metrics/rmake.rs

Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
This commit is contained in:
Jane Losare-Lusby 2024-11-20 12:11:40 -08:00 committed by GitHub
parent dc97db105a
commit 0a14f712d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"
);