Skip to content

Commit

Permalink
Update exact query prefix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Aug 17, 2022
1 parent f71e503 commit 495c8ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_query.py
Expand Up @@ -150,7 +150,7 @@ def test_get_one_keyed_exact(self):
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'])

Expand Down Expand Up @@ -220,7 +220,7 @@ def test_key_case_insensitive(self):
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',
Expand Down

0 comments on commit 495c8ac

Please sign in to comment.