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:
parent
dc97db105a
commit
0a14f712d7
1 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue