Skip to content

Commit

Permalink
Fix some todo testcases (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
dengliming authored May 1, 2020
1 parent 8eec4dd commit 51a0cb3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions redisearch/spellcheck_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func TestNewMisspelledTerm(t *testing.T) {
args args
want MisspelledTerm
}{
// TODO: Add test cases.
{"1", args{"term"}, MisspelledTerm{"term", []MisspelledSuggestion{}}},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
Expand Down Expand Up @@ -333,7 +333,6 @@ func TestSpellCheckOptions_serialize(t *testing.T) {
fields fields
want redis.Args
}{
// TODO: Add test cases.
{"empty", fields{1, []string{}, []string{}}, redis.Args{}},
{"exclude", fields{1, []string{"dict1"}, []string{}}, redis.Args{"TERMS", "EXCLUDE", "dict1"}},
{"include", fields{1, []string{}, []string{"dict1"}}, redis.Args{"TERMS", "INCLUDE", "dict1"}},
Expand Down

0 comments on commit 51a0cb3

Please sign in to comment.