aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sync.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sync.rs b/src/sync.rs
index 3911d55..1635ad6 100644
--- a/src/sync.rs
+++ b/src/sync.rs
@@ -103,7 +103,7 @@ mod tests {
use super::*;
#[test]
- fn sync() {
+ fn test_diff() {
let db_entries = vec![
DbEntry {
question: "A".to_string(),
@@ -142,11 +142,11 @@ mod tests {
},
];
- let Res {
+ let Diff {
new,
deleted,
undeleted,
- } = sync(db_entries, lines);
+ } = diff(db_entries, lines);
assert_eq!(
new,