mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-15 22:32:13 +00:00
additional test
This commit is contained in:
1 parent
0c4a69ba4a
commit
514656f296
1 file changed
+5
@@ -705,6 +705,11 @@ mod tests {
|
||||
let expected = vec![u("dothraki")];
|
||||
assert_eq!(expected, result);
|
||||
|
||||
// Doesn't match words in our dictionary, despite camel case.
|
||||
let result = t.tokenize("AtLanTa");
|
||||
let expected = vec![w("atlanta")];
|
||||
assert_eq!(expected, result);
|
||||
|
||||
// Matches various forms of CamelCase.
|
||||
let result = t.tokenize("CamelCase");
|
||||
let expected = vec![cc("CamelCase")];
|
||||
|
||||
Reference in new issue
Block a user