Fix formatting

This commit is contained in:
Henrik Giesel 2021-01-10 16:38:20 +01:00
parent adf969d37f
commit 0b955c3699

View file

@ -637,10 +637,7 @@ mod test {
s(ctx, "added:3").0,
format!("(c.id > {})", (timing.next_day_at - (86_400 * 3)) * 1_000)
);
assert_eq!(
s(ctx, "added:0").0,
s(ctx, "added:1").0,
);
assert_eq!(s(ctx, "added:0").0, s(ctx, "added:1").0,);
// deck
assert_eq!(
@ -731,10 +728,7 @@ mod test {
(timing.next_day_at - (86_400 * 365)) * 1_000
)
);
assert_eq!(
s(ctx, "rated:0").0,
s(ctx, "rated:1").0
);
assert_eq!(s(ctx, "rated:0").0, s(ctx, "rated:1").0);
// props
assert_eq!(s(ctx, "prop:lapses=3").0, "(lapses = 3)".to_string());