Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwilkie committed Apr 5, 2024
1 parent 77ae3c8 commit a4a2d93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lint/rule_target_promql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func TestTargetPromQLRule(t *testing.T) {
{
result: []Result{{
Severity: Error,
Message: "Dashboard 'dashboard', panel 'panel', target idx '0' invalid PromQL query '': 1:1: parse error: no expression found in input",
Message: "Dashboard 'dashboard', panel 'panel', target idx '0' invalid PromQL query '': unknown position: parse error: no expression found in input",
}},
panel: Panel{
Title: "panel",
Expand All @@ -155,7 +155,7 @@ func TestTargetPromQLRule(t *testing.T) {
},
{
Severity: Error,
Message: "Dashboard 'dashboard', panel 'panel', target idx '0' invalid PromQL query '': 1:1: parse error: no expression found in input",
Message: "Dashboard 'dashboard', panel 'panel', target idx '0' invalid PromQL query '': unknown position: parse error: no expression found in input",
},
},
panel: Panel{
Expand Down

0 comments on commit a4a2d93

Please sign in to comment.