Index: common/system/filesystem/filesystem_test.go |
diff --git a/common/system/filesystem/filesystem_test.go b/common/system/filesystem/filesystem_test.go |
index 0deb1a5f7a62f0466cb11f4716ada55879a5a9e1..6c346bd3a7a2985c65853d5831056daac44b8256 100644 |
--- a/common/system/filesystem/filesystem_test.go |
+++ b/common/system/filesystem/filesystem_test.go |
@@ -53,7 +53,7 @@ func TestIsNotExist(t *testing.T) { |
So(IsNotExist(errors.New("something")), ShouldBeFalse) |
So(IsNotExist(err), ShouldBeTrue) |
- So(IsNotExist(errors.Annotate(err).Reason("annotated").Err()), ShouldBeTrue) |
+ So(IsNotExist(errors.Annotate(err, "annotated").Err()), ShouldBeTrue) |
}) |
}) |
} |