Explorar o código

Fixed failing golang test

Torkel Ödegaard %!s(int64=10) %!d(string=hai) anos
pai
achega
fb35f7210c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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() {