Bläddra i källkod

Fixed failing golang test

Torkel Ödegaard 10 år sedan
förälder
incheckning
fb35f7210c
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      pkg/services/search/json_index_test.go

+ 1 - 1
pkg/services/search/json_index_test.go

@@ -20,7 +20,7 @@ func TestJsonDashIndex(t *testing.T) {
 			res, err := index.Search(&Query{Title: "", Tag: ""})
 			res, err := index.Search(&Query{Title: "", Tag: ""})
 			So(err, ShouldBeNil)
 			So(err, ShouldBeNil)
 
 
-			So(len(res), ShouldEqual, 4)
+			So(len(res), ShouldEqual, 3)
 		})
 		})
 
 
 		Convey("Should be able to search index by title", func() {
 		Convey("Should be able to search index by title", func() {