From 075603786d4d994b4c6e8307999ab837ba33fafd Mon Sep 17 00:00:00 2001 From: Avishalom Shalit Date: Thu, 1 Feb 2018 10:13:48 -0500 Subject: [PATCH] change instance ID format --- integration/iid/iid_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/integration/iid/iid_test.go b/integration/iid/iid_test.go index 8b7b316c..d3303dc4 100644 --- a/integration/iid/iid_test.go +++ b/integration/iid/iid_test.go @@ -50,12 +50,12 @@ func TestMain(m *testing.M) { } func TestNonExisting(t *testing.T) { - err := client.DeleteInstanceID(context.Background(), "non-existing") + err := client.DeleteInstanceID(context.Background(), "dnon-existY") if err == nil { - t.Errorf("DeleteInstanceID(non-existing) = nil; want error") + t.Errorf("DeleteInstanceID(\"dnon-existY\") = nil; want error") } - want := `instance id "non-existing": failed to find the instance id` + want := `instance id "dnon-existY": failed to find the instance id` if err.Error() != want { - t.Errorf("DeleteInstanceID(non-existing) = %v; want = %v", err, want) + t.Errorf("DeleteInstanceID(\"dnon-existY\") = %v; want = %v", err, want) } }