Skip to content

Commit

Permalink
test: fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewingWeasel committed Nov 8, 2023
1 parent 4933c8b commit b98d115
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions shared/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ impl Default for Settings {
deck: String::from("Default"),
note_type: String::from("Basic"),
note_fields: String::from(
"Front:$sent
Back:$word:$def",
"Front:{sent}
Back:{word}:{def}",
),
model: String::new(),
dicts: Vec::new(),
Expand Down
10 changes: 5 additions & 5 deletions src-tauri/src/add_to_anki.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ def3"})
deck: String::from("deck"),
note_type: String::from("note"),
note_fields: String::from(
"sentence:$sent[$word]
word:$word
def:$def",
"sentence:{sent}[{word}]
word:{word}
def:{def}",
),
..Default::default()
};
Expand All @@ -174,8 +174,8 @@ def:$def",
deck: String::from("deck"),
note_type: String::from("note"),
note_fields: String::from(
"sentence:$sent
sentence:$word",
"sentence:{sent}
sentence:{word}",
),
..Default::default()
};
Expand Down

0 comments on commit b98d115

Please sign in to comment.