func TestSymbolMatchIndex(t *testing.T) { … } func TestSymbolRanking(t *testing.T) { … } func TestMatcherSimilarities(t *testing.T) { … } func collectIdentifiers(tb testing.TB) []string { … } func generatePatterns() []string { … } // Test that we strongly prefer exact matches. // // In golang/go#60027, we preferred "Runner" for the query "rune" over several // results containing the word "rune" exactly. Following this observation, // scoring was tweaked to more strongly emphasize sequential characters and // exact matches. func TestSymbolRanking_Issue60027(t *testing.T) { … } func TestChunkedMatch(t *testing.T) { … }