integration: add want IDs to Errorf calls

This commit is contained in:
Shawn Smith 2016-01-29 15:50:00 +09:00
parent e7f50d8444
commit 7abbd31fcd

View File

@ -1223,7 +1223,7 @@ func TestV3LeaseCreateByID(t *testing.T) {
t.Errorf("could not create lease 1 (%v)", err)
}
if lresp.ID != 1 {
t.Errorf("got id %v, wanted id %v", lresp.ID)
t.Errorf("got id %v, wanted id %v", lresp.ID, 1)
}
// create duplicate fixed lease
@ -1245,7 +1245,7 @@ func TestV3LeaseCreateByID(t *testing.T) {
t.Errorf("could not create lease 2 (%v)", err)
}
if lresp.ID != 2 {
t.Errorf("got id %v, wanted id %v", lresp.ID)
t.Errorf("got id %v, wanted id %v", lresp.ID, 2)
}
}