From 189b445793959d8990e6274b5f14fd561c59734f Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Fri, 13 Dec 2024 22:25:26 +0100 Subject: [PATCH] gofmt Signed-off-by: Tim Vaillancourt --- go/vt/vtorc/logic/tablet_discovery_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/go/vt/vtorc/logic/tablet_discovery_test.go b/go/vt/vtorc/logic/tablet_discovery_test.go index fff2bf28eef..54284e8a017 100644 --- a/go/vt/vtorc/logic/tablet_discovery_test.go +++ b/go/vt/vtorc/logic/tablet_discovery_test.go @@ -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}, }, }, }