Skip to content

Commit b39101e

Browse files
avishalomhiranya911
authored andcommitted
Document non existing name in integration tests for iid (#85)
1 parent 0eabc57 commit b39101e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

integration/iid/iid_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,12 @@ func TestMain(m *testing.M) {
5454

5555
func TestNonExisting(t *testing.T) {
5656
// legal instance IDs are /[cdef][A-Za-z0-9_-]{9}[AEIMQUYcgkosw048]/
57-
// "fictive-ID0" is match for that.
5857
err := client.DeleteInstanceID(context.Background(), "fictive-ID0")
5958
if err == nil {
60-
t.Errorf("DeleteInstanceID(\"dnon-existY\") = nil; want error")
59+
t.Errorf("DeleteInstanceID(non-existing) = nil; want error")
6160
}
6261
want := `instance id "fictive-ID0": failed to find the instance id`
6362
if err.Error() != want {
64-
t.Errorf("DeleteInstanceID(\"dnon-existY\") = %v; want = %v", err, want)
63+
t.Errorf("DeleteInstanceID(non-existing) = %v; want = %v", err, want)
6564
}
6665
}

0 commit comments

Comments
 (0)