Update Japanese tests with more sensible data

This commit is contained in:
wallace11
2021-07-29 01:08:48 +03:00
committed by GitHub
parent d7207bd789
commit 119a4ffdc9

View File

@ -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(