mirror of
https://github.com/beetbox/beets.git
synced 2026-01-30 12:02:41 +01:00
Update exact query prefix tests
This commit is contained in:
parent
f71e503f6c
commit
495c8accc0
1 changed files with 2 additions and 2 deletions
|
|
@ -150,7 +150,7 @@ class GetTest(DummyDataTestCase):
|
|||
self.assert_items_matched(results, ['beets 4 eva'])
|
||||
|
||||
def test_get_one_keyed_exact_nocase(self):
|
||||
q = 'genre:~"hard rock"'
|
||||
q = 'genre:=~"hard rock"'
|
||||
results = self.lib.items(q)
|
||||
self.assert_items_matched(results, ['beets 4 eva'])
|
||||
|
||||
|
|
@ -220,7 +220,7 @@ class GetTest(DummyDataTestCase):
|
|||
self.assert_items_matched(results, ['beets 4 eva'])
|
||||
|
||||
def test_keyed_matches_exact_nocase(self):
|
||||
q = 'genre:~rock'
|
||||
q = 'genre:=~rock'
|
||||
results = self.lib.items(q)
|
||||
self.assert_items_matched(results, [
|
||||
'foo bar',
|
||||
|
|
|
|||
Loading…
Reference in a new issue