aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Hoerr <kjhoerr@submelon.dev>2026-04-23 17:47:54 -0400
committerKevin Hoerr <kjhoerr@submelon.dev>2026-04-23 17:47:54 -0400
commit77bdbc4d8937d8f308beeb1ea548b240b8f8a524 (patch)
tree29a95bc27934c8dd34575a3f7e755c73a97b036e /src
parent0791326829828a58c2fb9a287a4c889af0587d49 (diff)
downloadequity-tracker-77bdbc4d8937d8f308beeb1ea548b240b8f8a524.tar.gz
equity-tracker-77bdbc4d8937d8f308beeb1ea548b240b8f8a524.tar.bz2
equity-tracker-77bdbc4d8937d8f308beeb1ea548b240b8f8a524.zip
records.rs: Fix formatting
Diffstat (limited to 'src')
-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") {