Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Dec 13, 2024
1 parent 0df0848 commit 189b445
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions go/vt/vtorc/logic/tablet_discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,28 +134,28 @@ func TestUpdateShardsToWatch(t *testing.T) {
{
in: []string{"test/-"},
expected: map[string][]string{
"test": []string{"-"},
"test": {"-"},
},
},
{
in: []string{"test/-", "test2/-80", "test2/80-"},
expected: map[string][]string{
"test": []string{"-"},
"test2": []string{"-80", "80-"},
"test": {"-"},
"test2": {"-80", "80-"},
},
},
{
// confirm shards fetch from topo
in: []string{keyspace},
expected: map[string][]string{
keyspace: []string{shard},
keyspace: {shard},
},
},
{
// confirm shards fetch from topo when keyspace has trailing-slash
in: []string{keyspace + "/"},
expected: map[string][]string{
keyspace: []string{shard},
keyspace: {shard},
},
},
}
Expand Down

0 comments on commit 189b445

Please sign in to comment.