Index: worker/instancepoller/machine_test.go |
=== modified file 'worker/instancepoller/machine_test.go' |
--- worker/instancepoller/machine_test.go 2014-04-09 02:27:36 +0000 |
+++ worker/instancepoller/machine_test.go 2014-04-14 12:36:13 +0000 |
@@ -153,7 +153,7 @@ |
getInstanceInfo := func(id instance.Id) (instanceInfo, error) { |
c.Check(id, gc.Equals, instance.Id("i1234")) |
atomic.AddInt32(&count, 1) |
- return instanceInfo{}, errors.NewNotImplementedError("instance address") |
+ return instanceInfo{}, errors.NotImplementedf("instance address") |
} |
context := &testMachineContext{ |
getInstanceInfo: getInstanceInfo, |