Skip to content

Commit 34f270f

Browse files
committed
cargo fmt
1 parent fc3fc7e commit 34f270f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ pub fn compare_jsons(a: &str, b: &str) -> Result<Mismatch, Message> {
1616
Ok(process::match_json(&value1, &value2))
1717
}
1818

19-
2019
#[cfg(test)]
2120
mod tests {
22-
use super::*;
2321
use super::ds::{key_node::KeyNode, mismatch::Mismatch};
22+
use super::*;
2423
use maplit::hashmap;
2524
use serde_json::json;
2625

@@ -155,7 +154,7 @@ mod tests {
155154
Ok(_) => panic!("This shouldn't be an Ok"),
156155
Err(err) => {
157156
assert_eq!(Message::JSON1, err);
158-
},
157+
}
159158
};
160159
}
161160

@@ -167,7 +166,7 @@ mod tests {
167166
Ok(_) => panic!("This shouldn't be an Ok"),
168167
Err(err) => {
169168
assert_eq!(Message::JSON2, err);
170-
},
169+
}
171170
};
172171
}
173172
}

0 commit comments

Comments
 (0)