do not fail tests on extra translations

Happens after deleting or renaming translations, not critical, and
already covered by linter.
pull/6865/head
Niklas Fiekas 2020-06-23 15:29:56 +02:00
parent d6ed2cef4b
commit 147fad2433
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class TranslationTest extends Specification {
}
None
} catch {
case _: MatchError => Some(s"${lang.code} $name $k Extra translation!")
case _: MatchError => None // Extra translation
case e: Exception => Some(s"${lang.code} $name $k -> $v - ${e.getMessage}")
}
}