internal/postgres: minor changes to TestLatestVersion
Remove unused field; adjust error message.
@@ -352,7 +352,6 @@ func TestLatestVersion(t *testing.T) {
for _, mod := range []struct {
version string
modulePath string
- Incompatible bool
}{
{
version: "v1.5.2",
@@ -398,7 +397,7 @@ func TestLatestVersion(t *testing.T) {
t.Fatal(err)
}
if !isLatest {
- t.Errorf("\n%+v is not the Latest version: %+v", tc.modulePath, tc.wantVersion)
+ t.Errorf("%s is not the latest version", tc.wantVersion)
}
})
}
