Skip to content

Commit

Permalink
add extra success metrics test
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimkibana committed Jun 11, 2024
1 parent 9717ac4 commit 1b05483
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export const validationMetricsCommandTestSuite = (setup: helpers.Setup) => {
await expectErrors(`metrics a_index sum(case(false, 0, 1))`, []);
await expectErrors(`metrics a_index var0 = sum( case(false, 0, 1))`, []);
await expectErrors('metrics a_index count(stringField == "a" or null)', []);
await expectErrors('metrics other_index max(numberField) by stringField', []);
});

test('syntax errors', async () => {
Expand Down

0 comments on commit 1b05483

Please sign in to comment.