Skip to content

Commit caa093d

Browse files
BigtoCchipshort
authored andcommitted
chore(test): Move all unit tests to test module
1 parent f8d8a81 commit caa093d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

packages/std/src/metadata.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ where
3838
}
3939

4040
#[cfg(test)]
41-
mod unit_tests {
41+
mod tests {
4242
use super::*;
43+
use crate::{DenomMetadata, DenomUnit};
4344
use serde_json::{json, Error};
4445

4546
#[test]
@@ -149,12 +150,6 @@ mod unit_tests {
149150
serde_json::from_value(json_missing_alias);
150151
assert!(metadata_missing_alias.is_err());
151152
}
152-
}
153-
154-
#[cfg(test)]
155-
mod integration_tests {
156-
use crate::{DenomMetadata, DenomUnit};
157-
use serde_json::{json, Error};
158153

159154
#[test]
160155
fn query_denom_metadata_with_null_denom_units_works() {

0 commit comments

Comments
 (0)