Skip to content

Commit

Permalink
fix: updated between serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
mvarendorff committed Nov 19, 2023
1 parent 8448e57 commit e4dbb20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/node/test/query.test.js.twig
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@ describe('Query', () => {
describe('between', () => {
test('with integers', () =>
expect(Query.between('attr', 1, 2))
.toEqual('between("attr", [1,2])')
.toEqual('between("attr", 1, 2)')
);
test('with doubles', () =>
expect(Query.between('attr', 1.2, 2.2))
.toEqual('between("attr", [1.2,2.2])')
.toEqual('between("attr", 1.2, 2.2)')
);
test('with strings', () =>
expect(Query.between('attr', "a", "z"))
.toEqual('between("attr", ["a","z"])')
.toEqual('between("attr", "a" "z")')
);
});

Expand Down

0 comments on commit e4dbb20

Please sign in to comment.