internal/postgres: edit symbolsearch test name
Replace "<" and ">" with "_" to make it easier to run a single test.
Trust: Julie Qiu
Run-TryBot: Julie Qiu
TryBot-Result: kokoro
@@ -6,6 +6,7 @@ package postgres
import (
"context"
+ "strings"
"testing"
"github.com/google/go-cmp/cmp"
@@ -97,7 +98,7 @@ func TestSymbolSearch(t *testing.T) {
want: checkResult(sample.Function.SymbolMeta),
},
} {
- t.Run(test.name, func(t *testing.T) {
+ t.Run(strings.ReplaceAll(strings.ReplaceAll(test.name, "<", "_"), ">", "_"), func(t *testing.T) {
resp, err := testDB.hedgedSearch(ctx, test.q, 2, 0, 100, symbolSearchers, nil)
if err != nil {
t.Fatal(err)
