mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Fix formatting
This commit is contained in:
parent
adf969d37f
commit
0b955c3699
1 changed files with 2 additions and 8 deletions
|
@ -637,10 +637,7 @@ mod test {
|
||||||
s(ctx, "added:3").0,
|
s(ctx, "added:3").0,
|
||||||
format!("(c.id > {})", (timing.next_day_at - (86_400 * 3)) * 1_000)
|
format!("(c.id > {})", (timing.next_day_at - (86_400 * 3)) * 1_000)
|
||||||
);
|
);
|
||||||
assert_eq!(
|
assert_eq!(s(ctx, "added:0").0, s(ctx, "added:1").0,);
|
||||||
s(ctx, "added:0").0,
|
|
||||||
s(ctx, "added:1").0,
|
|
||||||
);
|
|
||||||
|
|
||||||
// deck
|
// deck
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
|
@ -731,10 +728,7 @@ mod test {
|
||||||
(timing.next_day_at - (86_400 * 365)) * 1_000
|
(timing.next_day_at - (86_400 * 365)) * 1_000
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
assert_eq!(
|
assert_eq!(s(ctx, "rated:0").0, s(ctx, "rated:1").0);
|
||||||
s(ctx, "rated:0").0,
|
|
||||||
s(ctx, "rated:1").0
|
|
||||||
);
|
|
||||||
|
|
||||||
// props
|
// props
|
||||||
assert_eq!(s(ctx, "prop:lapses=3").0, "(lapses = 3)".to_string());
|
assert_eq!(s(ctx, "prop:lapses=3").0, "(lapses = 3)".to_string());
|
||||||
|
|
Loading…
Reference in a new issue