Skip to content

Commit

Permalink
Tweak test.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkistner committed Feb 4, 2025
1 parent 904798c commit 71cd25e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sync-rules/test/src/sql_functions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('SQL functions', () => {
expect(jsonExtract(`{"foo": true}`, '$.foo', '->')).toEqual('true');
// Null and missing are the same here; matches SQLite
expect(jsonExtract(`{"foo": null}`, '$.foo', '->')).toBeNull();
expect(jsonExtract(`{"foo": true}`, '$.bar', '->')).toBeNull();
expect(jsonExtract(`{}`, '$.bar', '->')).toBeNull();
});

test('json_array_length', () => {
Expand Down

0 comments on commit 71cd25e

Please sign in to comment.