mirror of https://github.com/dnomd343/ClearDNS
Dnomd343
2 years ago
1 changed files with 23 additions and 0 deletions
@ -0,0 +1,23 @@ |
|||
const JSON_TEST_CONTENT: &str = r#" |
|||
{ |
|||
"int": 123, |
|||
"float": 2.3333, |
|||
"string": "dnomd343", |
|||
"array": [1, 2, 3, 4, 5], |
|||
"dict": { |
|||
"test": "demo" |
|||
} |
|||
} |
|||
"#; |
|||
|
|||
#[cfg(test)] |
|||
mod tests { |
|||
use super::*; |
|||
|
|||
#[test] |
|||
fn json_to_json() { |
|||
println!("{}", JSON_TEST_CONTENT); |
|||
assert_eq!(1, 2); |
|||
} |
|||
|
|||
} |
Loading…
Reference in new issue