Skip to content

Commit cfe1fd8

Browse files
committed
Merge pull request sorintlab#554 from sgotti/test_go_fmt_only_latest_go_version
test: test gofmt only with the latest go version
2 parents a3a6b06 + 5511496 commit cfe1fd8

File tree

3 files changed

+384
-385
lines changed

3 files changed

+384
-385
lines changed

cmd/keeper/cmd/keeper_test.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func TestGenerateHBA(t *testing.T) {
122122
}{
123123
{
124124
DefaultSUReplAccessMode: cluster.SUReplAccessAll,
125-
dbUID: "db1",
125+
dbUID: "db1",
126126
out: []string{
127127
"local postgres superuser md5",
128128
"local replication repluser md5",
@@ -136,7 +136,7 @@ func TestGenerateHBA(t *testing.T) {
136136
},
137137
{
138138
DefaultSUReplAccessMode: cluster.SUReplAccessAll,
139-
dbUID: "db2",
139+
dbUID: "db2",
140140
out: []string{
141141
"local postgres superuser md5",
142142
"local replication repluser md5",
@@ -150,7 +150,7 @@ func TestGenerateHBA(t *testing.T) {
150150
},
151151
{
152152
DefaultSUReplAccessMode: cluster.SUReplAccessAll,
153-
dbUID: "db1",
153+
dbUID: "db1",
154154
pgHBA: []string{
155155
"host all all 192.168.0.0/24 md5",
156156
},
@@ -166,7 +166,7 @@ func TestGenerateHBA(t *testing.T) {
166166
},
167167
{
168168
DefaultSUReplAccessMode: cluster.SUReplAccessAll,
169-
dbUID: "db2",
169+
dbUID: "db2",
170170
pgHBA: []string{
171171
"host all all 192.168.0.0/24 md5",
172172
},
@@ -182,7 +182,7 @@ func TestGenerateHBA(t *testing.T) {
182182
},
183183
{
184184
DefaultSUReplAccessMode: cluster.SUReplAccessStrict,
185-
dbUID: "db1",
185+
dbUID: "db1",
186186
out: []string{
187187
"local postgres superuser md5",
188188
"local replication repluser md5",
@@ -194,7 +194,7 @@ func TestGenerateHBA(t *testing.T) {
194194
},
195195
{
196196
DefaultSUReplAccessMode: cluster.SUReplAccessStrict,
197-
dbUID: "db2",
197+
dbUID: "db2",
198198
out: []string{
199199
"local postgres superuser md5",
200200
"local replication repluser md5",

0 commit comments

Comments
 (0)