Skip to content

Commit 9fe24bc

Browse files
authored
Update longest_dictionary_word_test.go (#173)
1 parent 04424ce commit 9fe24bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

strings/longest_dictionary_word_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ TestLongestDictionaryWordContainingKey tests solution(s) with the following sign
1010
Given a key as string, and a slice of strings containing a dictionary of words, return the longest
1111
word that contains all letters of the key.
1212
13-
For example given "cat" and {"rectify", "race", "archeology", "racoon"}, it should return "archeology",
14-
because "archeology" is the longest word in the given set that contains "c","a",and "t".
13+
For example given "car" and {"rectify", "race", "archeology", "racoon"}, it should return "archeology",
14+
because "archeology" is the longest word in the given set that contains "c","a",and "r".
1515
*/
1616
func TestLongestDictionaryWordContainingKey(t *testing.T) {
1717
tests := []struct {

0 commit comments

Comments
 (0)