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 f8d8a81 commit caa093dCopy full SHA for caa093d
packages/std/src/metadata.rs
@@ -38,8 +38,9 @@ where
38
}
39
40
#[cfg(test)]
41
-mod unit_tests {
+mod tests {
42
use super::*;
43
+ use crate::{DenomMetadata, DenomUnit};
44
use serde_json::{json, Error};
45
46
#[test]
@@ -149,12 +150,6 @@ mod unit_tests {
149
150
serde_json::from_value(json_missing_alias);
151
assert!(metadata_missing_alias.is_err());
152
-}
153
-
154
-#[cfg(test)]
155
-mod integration_tests {
156
- use crate::{DenomMetadata, DenomUnit};
157
- use serde_json::{json, Error};
158
159
160
fn query_denom_metadata_with_null_denom_units_works() {
0 commit comments