Skip to content

Commit

Permalink
Fix tests formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lunaticusgreen committed Nov 24, 2024
1 parent bb951a4 commit b2633a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/eval_query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1989,7 +1989,7 @@ func TestEvalQueryFloatColumnsSupport(t *testing.T) {
"ORDER BY t"
const expQuery = "SELECT round(\"d\" * 1000) as t, sum(x) AS metric\n" +
"FROM default.test_timestamp_formats\n" +
"WHERE \"d\" >= 1545613323 AND \"d\" <= 1546300799\n" +
"WHERE \"d\" >= 1545613323 AND \"d\" <= 1546300799\n" +
"GROUP BY t\n" +
"ORDER BY t"

Expand Down Expand Up @@ -2027,7 +2027,7 @@ func TestEvalQueryFloatColumnsSupport(t *testing.T) {
"ORDER BY t"
const expQuery = "SELECT (intDiv(\"d\" * 1000, 100) * 100) as t, sum(x) AS metric\n" +
"FROM default.test_timestamp_formats\n" +
"WHERE \"d\" >= toFloat64(1545613323200/1000) AND \"d\" <= toFloat64(1546300799200/1000)\n" +
"WHERE \"d\" >= toFloat64(1545613323200/1000) AND \"d\" <= toFloat64(1546300799200/1000)\n" +
"GROUP BY t\n" +
"ORDER BY t"

Expand Down Expand Up @@ -2065,7 +2065,7 @@ func TestEvalQueryFloatColumnsSupport(t *testing.T) {
"ORDER BY t"
const expQuery = "SELECT round(\"d\" * 1000) as t, sum(x) AS metric\n" +
"FROM default.test_timestamp_formats\n" +
"WHERE \"d\" >= 1545613323 AND \"d\" <= 1546300799\n" +
"WHERE \"d\" >= 1545613323 AND \"d\" <= 1546300799\n" +
"GROUP BY t\n" +
"ORDER BY t"

Expand Down

0 comments on commit b2633a2

Please sign in to comment.