summaryrefslogtreecommitdiff
path: root/test/data/translator-test-inputs.json
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-05-14 21:31:26 +0200
committerGitHub <noreply@github.com>2024-05-14 19:31:26 +0000
commit7a4b832ccfeb7f13857340cc93b30214d6b53106 (patch)
treeb38bfd5681b85436421c25b4494be60410fa9672 /test/data/translator-test-inputs.json
parent6c218cc6b9df27680a68a76cbeddc459a8e35711 (diff)
add test case for search resolution "word" (#939)24.5.14.0
* fix search resolution infinite loop * add search resolution word test case
Diffstat (limited to 'test/data/translator-test-inputs.json')
-rw-r--r--test/data/translator-test-inputs.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/data/translator-test-inputs.json b/test/data/translator-test-inputs.json
index b7a84d7e..9f508a1d 100644
--- a/test/data/translator-test-inputs.json
+++ b/test/data/translator-test-inputs.json
@@ -470,6 +470,21 @@
"removeNonJapaneseCharacters": false
}
]
+ },
+ {
+ "name": "Test search resolution - word",
+ "func": "findTerms",
+ "mode": "split",
+ "text": "english example",
+ "options": [
+ "default",
+ {
+ "type": "terms",
+ "language": "en",
+ "removeNonJapaneseCharacters": false,
+ "searchResolution": "word"
+ }
+ ]
}
]
}