mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
test(getPubkeysBySearch): change search query
This commit is contained in:
parent
148e714863
commit
2f27e22b4c
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ Deno.test('fuzzy search works', async () => {
|
||||||
|
|
||||||
assertEquals(await getPubkeysBySearch(db.kysely, { q: 'pat rick', limit: 1, followedPubkeys: new Set() }), new Set());
|
assertEquals(await getPubkeysBySearch(db.kysely, { q: 'pat rick', limit: 1, followedPubkeys: new Set() }), new Set());
|
||||||
assertEquals(
|
assertEquals(
|
||||||
await getPubkeysBySearch(db.kysely, { q: 'patrick dos reis', limit: 1, followedPubkeys: new Set() }),
|
await getPubkeysBySearch(db.kysely, { q: 'patrick dosreis', limit: 1, followedPubkeys: new Set() }),
|
||||||
new Set([
|
new Set([
|
||||||
'47259076c85f9240e852420d7213c95e95102f1de929fb60f33a2c32570c98c4',
|
'47259076c85f9240e852420d7213c95e95102f1de929fb60f33a2c32570c98c4',
|
||||||
]),
|
]),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue