Files
libkiwix/test
Veloman Yunkan c782cc718a Workaround for Packages/build-deb CI failures
Packages/build-deb CI flows failed on ubuntu-bionic and ubuntu-focal
with the following mismatch in the ServerTest.suggestions unit-test:

```
[ RUN      ] ServerTest.suggestions
../test/server.cpp:715: Failure
Expected equality of these values:
  r->body
    Which is: ...
  removeEOLWhitespaceMarkers(expectedResponse)
    Which is: ...
With diff:
@@ -2,5 +2,5 @@
   {
     \"value\" : \"Ray (movie)\",
-    \"label\" : \"Ray (<b>movie</b>...\",
+    \"label\" : \"Ray (<b>movie</b>)\",
     \"kind\" : \"path\"
       , \"path\" : \"A/Ray_(movie)\"

Test context:
	url: /ROOT/suggest?content=zimfile&term=movie
```

For some reason (probably, a bug), the implementation of
`Xapian::MSet::snippet()` on those platforms decided that a single closing
parenthesis is more than is appropriate for inclusion in the snippet and
replaced it with a (longer) ellipsis.

Taking advantage of the necessity to work around that bug, the
ServerTest.suggestions's functional coverage was enhanced - the
problematic test point was replaced with a new one using a phrase
instead of a single term.
2022-02-14 18:17:48 +04:00
..
2022-01-11 17:53:29 +01:00
2022-01-12 18:07:46 +01:00
2021-11-16 09:39:56 +01:00
2020-01-20 17:00:18 +01:00
2022-01-13 14:23:29 +01:00
2021-11-30 18:20:27 +04:00
2022-01-13 14:23:29 +01:00
2021-06-30 18:27:00 +02:00
2021-07-07 14:43:13 +02:00
2020-10-28 16:03:18 +01:00
2020-01-20 17:00:18 +01:00