Added test for korean.

This commit is contained in:
2020-10-02 13:15:56 +02:00
parent ec71752744
commit 0f133cfab3

View File

@@ -89,6 +89,18 @@ mod tests {
);
}
#[test]
fn test_korean() {
assert_eq!(
scan("朝鲜语"),
vec![Match {
language: Language::Kor,
start: 0,
end: 9,
}]
);
}
#[test]
fn test_bug_001() {
assert_eq!(scan("ampersand"), vec![]);