Merged master changes

This commit is contained in:
Guillaume B 2021-06-28 18:57:27 +02:00
parent 0b2e339e87
commit 58eef0785f
2 changed files with 3 additions and 1 deletions

View File

@ -54,6 +54,7 @@ fn main() -> anyhow::Result<()> {
None,
target_language,
None,
false,
);
for sentence in output {

View File

@ -107,10 +107,11 @@ fn m2m100_translation() -> anyhow::Result<()> {
None,
target_language,
None,
false,
);
assert_eq!(output.len(), 1);
assert_eq!(output[0], ">>es.<< El perro no se despertó.");
assert_eq!(output[0].text, ">>es.<< El perro no se despertó.");
Ok(())
}