Skip to content

Commit

Permalink
Merge pull request #554 from sgotti/test_go_fmt_only_latest_go_version
Browse files Browse the repository at this point in the history
test: test gofmt only with the latest go version
  • Loading branch information
sgotti committed Aug 28, 2018
2 parents a3a6b06 + 5511496 commit cfe1fd8
Show file tree
Hide file tree
Showing 3 changed files with 384 additions and 385 deletions.
12 changes: 6 additions & 6 deletions cmd/keeper/cmd/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func TestGenerateHBA(t *testing.T) {
}{
{
DefaultSUReplAccessMode: cluster.SUReplAccessAll,
dbUID: "db1",
dbUID: "db1",
out: []string{
"local postgres superuser md5",
"local replication repluser md5",
Expand All @@ -136,7 +136,7 @@ func TestGenerateHBA(t *testing.T) {
},
{
DefaultSUReplAccessMode: cluster.SUReplAccessAll,
dbUID: "db2",
dbUID: "db2",
out: []string{
"local postgres superuser md5",
"local replication repluser md5",
Expand All @@ -150,7 +150,7 @@ func TestGenerateHBA(t *testing.T) {
},
{
DefaultSUReplAccessMode: cluster.SUReplAccessAll,
dbUID: "db1",
dbUID: "db1",
pgHBA: []string{
"host all all 192.168.0.0/24 md5",
},
Expand All @@ -166,7 +166,7 @@ func TestGenerateHBA(t *testing.T) {
},
{
DefaultSUReplAccessMode: cluster.SUReplAccessAll,
dbUID: "db2",
dbUID: "db2",
pgHBA: []string{
"host all all 192.168.0.0/24 md5",
},
Expand All @@ -182,7 +182,7 @@ func TestGenerateHBA(t *testing.T) {
},
{
DefaultSUReplAccessMode: cluster.SUReplAccessStrict,
dbUID: "db1",
dbUID: "db1",
out: []string{
"local postgres superuser md5",
"local replication repluser md5",
Expand All @@ -194,7 +194,7 @@ func TestGenerateHBA(t *testing.T) {
},
{
DefaultSUReplAccessMode: cluster.SUReplAccessStrict,
dbUID: "db2",
dbUID: "db2",
out: []string{
"local postgres superuser md5",
"local replication repluser md5",
Expand Down
Loading

0 comments on commit cfe1fd8

Please sign in to comment.