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 0cd9cc3 commit f8d4e7d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,19 +129,19 @@ class QueryTest {

@Test
fun betweenWithIntegers() = assertEquals(
"between(\"attr\", [1,2])",
"between(\"attr\", 1, 2)",
Query.between("attr", 1, 2)
)

@Test
fun betweenWithDoubles() = assertEquals(
"between(\"attr\", [1.0,2.0])",
"between(\"attr\", 1.0, 2.0)",
Query.between("attr", 1.0, 2.0)
)

@Test
fun betweenWithStrings() = assertEquals(
"between(\"attr\", [\"a\",\"z\"])",
"between(\"attr\", \"a\", \"z\")",
Query.between("attr", "a", "z")
)

Expand Down

0 comments on commit f8d4e7d

Please sign in to comment.