Skip to content

Commit e4dbb20

Browse files
committed
fix: updated between serialization
1 parent 8448e57 commit e4dbb20

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/node/test/query.test.js.twig

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ describe('Query', () => {
106106
describe('between', () => {
107107
test('with integers', () =>
108108
expect(Query.between('attr', 1, 2))
109-
.toEqual('between("attr", [1,2])')
109+
.toEqual('between("attr", 1, 2)')
110110
);
111111
test('with doubles', () =>
112112
expect(Query.between('attr', 1.2, 2.2))
113-
.toEqual('between("attr", [1.2,2.2])')
113+
.toEqual('between("attr", 1.2, 2.2)')
114114
);
115115
test('with strings', () =>
116116
expect(Query.between('attr', "a", "z"))
117-
.toEqual('between("attr", ["a","z"])')
117+
.toEqual('between("attr", "a" "z")')
118118
);
119119
});
120120

0 commit comments

Comments
 (0)