We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eabc57 commit b39101eCopy full SHA for b39101e
integration/iid/iid_test.go
@@ -54,13 +54,12 @@ func TestMain(m *testing.M) {
54
55
func TestNonExisting(t *testing.T) {
56
// legal instance IDs are /[cdef][A-Za-z0-9_-]{9}[AEIMQUYcgkosw048]/
57
- // "fictive-ID0" is match for that.
58
err := client.DeleteInstanceID(context.Background(), "fictive-ID0")
59
if err == nil {
60
- t.Errorf("DeleteInstanceID(\"dnon-existY\") = nil; want error")
+ t.Errorf("DeleteInstanceID(non-existing) = nil; want error")
61
}
62
want := `instance id "fictive-ID0": failed to find the instance id`
63
if err.Error() != want {
64
- t.Errorf("DeleteInstanceID(\"dnon-existY\") = %v; want = %v", err, want)
+ t.Errorf("DeleteInstanceID(non-existing) = %v; want = %v", err, want)
65
66
0 commit comments