Skip to content

Commit aae4f93

Browse files
authored
change instance ID format (#82)
Changing the format of the "non-existing" instance ID in the integration tests to comply with the expected iid format.
1 parent fb6fa29 commit aae4f93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

integration/iid/iid_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ func TestMain(m *testing.M) {
5050
}
5151

5252
func TestNonExisting(t *testing.T) {
53-
err := client.DeleteInstanceID(context.Background(), "non-existing")
53+
err := client.DeleteInstanceID(context.Background(), "dnon-existY")
5454
if err == nil {
55-
t.Errorf("DeleteInstanceID(non-existing) = nil; want error")
55+
t.Errorf("DeleteInstanceID(\"dnon-existY\") = nil; want error")
5656
}
57-
want := `instance id "non-existing": failed to find the instance id`
57+
want := `instance id "dnon-existY": failed to find the instance id`
5858
if err.Error() != want {
59-
t.Errorf("DeleteInstanceID(non-existing) = %v; want = %v", err, want)
59+
t.Errorf("DeleteInstanceID(\"dnon-existY\") = %v; want = %v", err, want)
6060
}
6161
}

0 commit comments

Comments
 (0)