Skip to content

Commit e38227b

Browse files
BigtoCchipshort
andcommitted
Delete redundant test
Co-authored-by: Christoph Otter <chipshort@tutanota.com>
1 parent 7894e62 commit e38227b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/std/src/metadata.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ mod unit_tests {
6060
serde_json::from_value(json_with_null_denom_units).unwrap();
6161
assert_eq!(
6262
metadata_null_denom_units.denom_units,
63-
Vec::<DenomUnit>::default()
63+
Vec::<DenomUnit>::new()
6464
);
65-
assert!(metadata_null_denom_units.denom_units.is_empty());
6665

6766
// Test normal case with provided denom_units
6867
let json_with_units = json!({

0 commit comments

Comments
 (0)