We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8448e57 commit e4dbb20Copy full SHA for e4dbb20
templates/node/test/query.test.js.twig
@@ -106,15 +106,15 @@ describe('Query', () => {
106
describe('between', () => {
107
test('with integers', () =>
108
expect(Query.between('attr', 1, 2))
109
- .toEqual('between("attr", [1,2])')
+ .toEqual('between("attr", 1, 2)')
110
);
111
test('with doubles', () =>
112
expect(Query.between('attr', 1.2, 2.2))
113
- .toEqual('between("attr", [1.2,2.2])')
+ .toEqual('between("attr", 1.2, 2.2)')
114
115
test('with strings', () =>
116
expect(Query.between('attr', "a", "z"))
117
- .toEqual('between("attr", ["a","z"])')
+ .toEqual('between("attr", "a" "z")')
118
119
});
120
0 commit comments