diff options
Diffstat (limited to 'src/mango/test/12-use-correct-index-test.py')
-rw-r--r-- | src/mango/test/12-use-correct-index-test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mango/test/12-use-correct-index-test.py b/src/mango/test/12-use-correct-index-test.py index 2de88a21a..3a2f60af8 100644 --- a/src/mango/test/12-use-correct-index-test.py +++ b/src/mango/test/12-use-correct-index-test.py @@ -93,8 +93,8 @@ class ChooseCorrectIndexForDocs(mango.DbPerClass): self.assertEqual(explain_resp["index"]["type"], "special") resp = self.db.find(selector, return_raw=True) self.assertEqual( - resp["warning"], - "no matching index found, create an index to optimize query time", + resp["warning"][0].lower(), + "no matching index found, create an index to optimize query time.", ) def test_chooses_idxA(self): |