mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Update Japanese tests with more sensible data
This commit is contained in:
@ -146,7 +146,7 @@ class DateFindSpec extends FunSuite {
|
|||||||
test("find japanese dates") {
|
test("find japanese dates") {
|
||||||
assertEquals(
|
assertEquals(
|
||||||
DateFind
|
DateFind
|
||||||
.findDates("some text in japanese 2021.7.21 and more", Language.Japanese)
|
.findDates("今日の日付は2021.7.21です。", Language.Japanese)
|
||||||
.toVector,
|
.toVector,
|
||||||
Vector(
|
Vector(
|
||||||
NerDateLabel(
|
NerDateLabel(
|
||||||
@ -157,7 +157,7 @@ class DateFindSpec extends FunSuite {
|
|||||||
)
|
)
|
||||||
assertEquals(
|
assertEquals(
|
||||||
DateFind
|
DateFind
|
||||||
.findDates("some text in japanese 2021年7月21日 and more", Language.Japanese)
|
.findDates("今日の日付は2021年7月21日です。", Language.Japanese)
|
||||||
.toVector,
|
.toVector,
|
||||||
Vector(
|
Vector(
|
||||||
NerDateLabel(
|
NerDateLabel(
|
||||||
|
Reference in New Issue
Block a user