aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app/store/records.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/app/store/records.rs b/src/app/store/records.rs
index 6971b23..a2c55fb 100644
--- a/src/app/store/records.rs
+++ b/src/app/store/records.rs
@@ -178,8 +178,14 @@ mod tests {
#[test]
fn event_type_try_from() {
- assert_eq!(ChangeEventType::try_from("BUY").unwrap(), ChangeEventType::BUY);
- assert_eq!(ChangeEventType::try_from("SELL").unwrap(), ChangeEventType::SELL);
+ assert_eq!(
+ ChangeEventType::try_from("BUY").unwrap(),
+ ChangeEventType::BUY
+ );
+ assert_eq!(
+ ChangeEventType::try_from("SELL").unwrap(),
+ ChangeEventType::SELL
+ );
assert!(ChangeEventType::try_from("unknown").is_err());
match ChangeEventType::try_from("unknown") {