diff --git a/src/to-json/tests/convert.rs b/src/to-json/tests/convert.rs new file mode 100644 index 0000000..59da73e --- /dev/null +++ b/src/to-json/tests/convert.rs @@ -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); + } + +}