We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 832eec5 commit 6213901Copy full SHA for 6213901
packages/std/src/metadata.rs
@@ -174,9 +174,8 @@ mod integration_tests {
174
serde_json::from_value(json_with_null_denom_units).unwrap();
175
assert_eq!(
176
metadata_with_null_denom_units.denom_units,
177
- Vec::<DenomUnit>::default()
+ Vec::<DenomUnit>::new()
178
);
179
- assert!(metadata_with_null_denom_units.denom_units.is_empty());
180
181
// Test normal case with provided denom_units
182
let json_with_units = json!({
0 commit comments