summaryrefslogtreecommitdiff
path: root/libimagstore/src/file_abstraction/stdio/mapper/json.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libimagstore/src/file_abstraction/stdio/mapper/json.rs')
-rw-r--r--libimagstore/src/file_abstraction/stdio/mapper/json.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/libimagstore/src/file_abstraction/stdio/mapper/json.rs b/libimagstore/src/file_abstraction/stdio/mapper/json.rs
index 74d9e6e..0b66f91 100644
--- a/libimagstore/src/file_abstraction/stdio/mapper/json.rs
+++ b/libimagstore/src/file_abstraction/stdio/mapper/json.rs
@@ -165,7 +165,7 @@ mod test {
#[test]
fn test_empty_json_to_fs() {
- let json = r#"{"version":"0.3.0","store":{}}"#;
+ let json = r#"{"version":"0.4.0","store":{}}"#;
let mut json = Cursor::new(String::from(json).into_bytes());
let mapper = JsonMapper::new();
let mut hm = HashMap::new();
@@ -178,12 +178,12 @@ mod test {
#[test]
fn test_json_to_fs() {
let json = r#"
- { "version": "0.3.0",
+ { "version": "0.4.0",
"store": {
"example": {
"header": {
"imag": {
- "version": "0.3.0"
+ "version": "0.4.0"
}
},
"content": "test"
@@ -210,7 +210,7 @@ mod test {
let mut hm = HashMap::new();
let content = r#"---
[imag]
-version = "0.3.0"
+version = "0.4.0"
---
hi there!"#;
@@ -225,12 +225,12 @@ hi there!"#;
let example = r#"
{
- "version": "0.3.0",
+ "version": "0.4.0",
"store": {
"example": {
"header": {
"imag": {
- "version": "0.3.0"
+ "version": "0.4.0"
}
},
"content": "hi there!"