data: simplify and validate Japanese imports
This commit is contained in:
@@ -24,11 +24,6 @@ trie_exact_prefix_and_duplicate(struct ct *t)
|
||||
goto cleanup;
|
||||
CT_EQ_INT(t, 6, n);
|
||||
CT_EQ_MEM(t, "second", v, n);
|
||||
v = trieget(trie, "tabs", 4, &n);
|
||||
if(!CT_CHECK(t, v != nil))
|
||||
goto cleanup;
|
||||
CT_EQ_INT(t, 7, n);
|
||||
CT_EQ_MEM(t, "one\ttwo", v, n);
|
||||
CT_EQ_PTR(t, nil, trieget(trie, "missing", 7, &n));
|
||||
cleanup:
|
||||
trieclose(trie);
|
||||
|
||||
Reference in New Issue
Block a user