Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 97b46d2

Browse files
committed
208 添加测试条件
1 parent dd92378 commit 97b46d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Algorithms/0208.implement-trie-prefix-tree/implement-trie-prefix-tree_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ func Test_Constructor(t *testing.T) {
1717
ast.True(trie.Search("abc"), "Search abc in [abc]")
1818
// ["abc"]
1919

20+
ast.False(trie.Search("ab"), "Search abcd in [a]")
2021
ast.False(trie.Search("abcd"), "Search abcd in [abc]")
2122
// ["abc"]
2223

0 commit comments

Comments
 (0)