Ryan McKinley %!s(int64=7) %!d(string=hai) anos
pai
achega
164ddb16c9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pkg/services/sqlstore/annotation_test.go

+ 1 - 1
pkg/services/sqlstore/annotation_test.go

@@ -83,7 +83,7 @@ func TestAnnotations(t *testing.T) {
 				Convey("Has created and updated values", func() {
 					So(items[0].Created, ShouldBeGreaterThan, 0)
 					So(items[0].Updated, ShouldBeGreaterThan, 0)
-					So(items[0].Updated, ShouldEqual, items[1].Created)
+					So(items[0].Updated, ShouldEqual, items[0].Created)
 				})
 			})