From 85a66af6afeb1aa9bea57655831244e003601e5f Mon Sep 17 00:00:00 2001 From: mh-northlander Date: Tue, 5 Nov 2024 13:20:57 +0900 Subject: [PATCH] fix test --- .../lucene/sudachi/ja/attributes/MorphemeAttributeImplTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/worksap/nlp/lucene/sudachi/ja/attributes/MorphemeAttributeImplTest.kt b/src/test/java/com/worksap/nlp/lucene/sudachi/ja/attributes/MorphemeAttributeImplTest.kt index 5d29e96..373302d 100644 --- a/src/test/java/com/worksap/nlp/lucene/sudachi/ja/attributes/MorphemeAttributeImplTest.kt +++ b/src/test/java/com/worksap/nlp/lucene/sudachi/ja/attributes/MorphemeAttributeImplTest.kt @@ -97,7 +97,7 @@ class MorphemeAttributeImplTest { var morphemeAtt = MorphemeAttributeImpl() val morpheme = getFirstMorpheme("東京都")!! morphemeAtt.setMorpheme(morpheme) - val offsets = listOf(0, 3) + val offsets = listOf(0, 1, 2, 3) morphemeAtt.setOffsets(offsets) val builder = XContentBuilder.builder(XContentType.JSON.xContent())