Skip to content

Commit 495c8ac

Browse files
committedAug 17, 2022
Update exact query prefix tests
1 parent f71e503 commit 495c8ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/test_query.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def test_get_one_keyed_exact(self):
150150
self.assert_items_matched(results, ['beets 4 eva'])
151151

152152
def test_get_one_keyed_exact_nocase(self):
153-
q = 'genre:~"hard rock"'
153+
q = 'genre:=~"hard rock"'
154154
results = self.lib.items(q)
155155
self.assert_items_matched(results, ['beets 4 eva'])
156156

@@ -220,7 +220,7 @@ def test_key_case_insensitive(self):
220220
self.assert_items_matched(results, ['beets 4 eva'])
221221

222222
def test_keyed_matches_exact_nocase(self):
223-
q = 'genre:~rock'
223+
q = 'genre:=~rock'
224224
results = self.lib.items(q)
225225
self.assert_items_matched(results, [
226226
'foo bar',

0 commit comments

Comments
 (0)
Please sign in to comment.