Skip to content

Commit 10dc385

Browse files
committed
Fix format of TestLokiIntegration
1 parent 1c9b97d commit 10dc385

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

plugin/trino-loki/src/test/java/io/trino/plugin/loki/TestLokiIntegration.java

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -213,27 +213,27 @@ void testQueryRangeInvalidArguments()
213213
{
214214
assertQueryFails(
215215
"""
216-
SELECT to_iso8601(timestamp), value FROM
217-
TABLE(system.query_range(
218-
'count_over_time({test="timestamp_metrics_query"}[5m])',
219-
TIMESTAMP '2012-08-08',
220-
TIMESTAMP '2012-08-09',
221-
-300
222-
))
223-
LIMIT 1
224-
""",
216+
SELECT to_iso8601(timestamp), value FROM
217+
TABLE(system.query_range(
218+
'count_over_time({test="timestamp_metrics_query"}[5m])',
219+
TIMESTAMP '2012-08-08',
220+
TIMESTAMP '2012-08-09',
221+
-300
222+
))
223+
LIMIT 1
224+
""",
225225
"step must be positive");
226226
assertQueryFails(
227227
"""
228-
SELECT to_iso8601(timestamp), value FROM
229-
TABLE(system.query_range(
230-
'count_over_time({test="timestamp_metrics_query"}[5m])',
231-
TIMESTAMP '2012-08-08',
232-
TIMESTAMP '2012-08-09',
233-
NULL
234-
))
235-
LIMIT 1
236-
""",
228+
SELECT to_iso8601(timestamp), value FROM
229+
TABLE(system.query_range(
230+
'count_over_time({test="timestamp_metrics_query"}[5m])',
231+
TIMESTAMP '2012-08-08',
232+
TIMESTAMP '2012-08-09',
233+
NULL
234+
))
235+
LIMIT 1
236+
""",
237237
"step must be positive");
238238
}
239239
}

0 commit comments

Comments
 (0)