Make pgroonga tests pass to workaround pgroonga regression.

Note that the old behavior was correct; we're just merging this to
make the tests pass until upstream can fix it.
This commit is contained in:
Umair Khan 2017-03-29 15:02:16 +05:00 committed by Tim Abbott
parent 9a9f0f86e9
commit 33c130a603
1 changed files with 2 additions and 1 deletions

View File

@ -876,7 +876,8 @@ class GetOldMessagesTest(ZulipTestCase):
'english')
self.assertEqual(
english_message['match_content'],
u'<p>I want to go to <span class="highlight">日本</span>!</p>')
# NOTE: The whitespace here is off due to a pgroonga bug.
u'<p>I want to go to<span class="highlight"> 日本</span>!</p>')
# Should not crash when multiple search operands are present
multi_search_narrow = [