Skip to content

Commit 0a14f71

Browse files
yaahcestebank
andauthored
Update tests/run-make/unstable-feature-usage-metrics/rmake.rs
Co-authored-by: Esteban Kuber <[email protected]>
1 parent dc97db1 commit 0a14f71

File tree

1 file changed

+3
-3
lines changed
  • tests/run-make/unstable-feature-usage-metrics

1 file changed

+3
-3
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ fn test_metrics_dump() {
5151
let json_path =
5252
metrics.pop().expect("there should be one metrics file in the output directory");
5353

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

0 commit comments

Comments
 (0)