Skip to content

Commit

Permalink
PMM-12219 fix linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk committed Nov 6, 2024
1 parent 6761c32 commit 4ab163b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,12 @@ func TestBuildURI(t *testing.T) {
},
}
for _, tc := range tests {
newUri := buildURI(tc.origin, tc.newUser, tc.newPassword, logrus.New())
// t.Logf("Origin: %s", tc.origin)
// t.Logf("Expect: %s", tc.expect)
// t.Logf("Result: %s", newUri)
assert.Equal(t, tc.expect, newUri)
t.Run(tc.situation, func(t *testing.T) {
newURI := buildURI(tc.origin, tc.newUser, tc.newPassword, logrus.New())
// t.Logf("Origin: %s", tc.origin)
// t.Logf("Expect: %s", tc.expect)
// t.Logf("Result: %s", newURI)
assert.Equal(t, tc.expect, newURI)
})
}
}

0 comments on commit 4ab163b

Please sign in to comment.