Parcourir la source

Fixed failing golang test

Torkel Ödegaard il y a 10 ans
Parent
commit
fb35f7210c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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: ""})
 			So(err, ShouldBeNil)
 
-			So(len(res), ShouldEqual, 4)
+			So(len(res), ShouldEqual, 3)
 		})
 
 		Convey("Should be able to search index by title", func() {