You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many of the rule messages contain a URL that can be visited to find the detailed information about the problem and how
to fix it.
Moving this information to a dedicated field in the struct allows for improved formatting of the rule output as well as
enhanced capabilities for the use of this data in other applications.
outputAssertion="Rule LS001 result: fail\nERROR: Path does not contain a valid Arduino library. \n See: https://arduino.github.io/arduino-cli/latest/library-specification\n"
86
+
assert.Equal(t, outputAssertion, summaryText, "Reference URL is appended if one is defined")
assert.Equal(t, fmt.Sprintf("Rule %s result: %s\n%s: %s\n", ruleConfiguration.ID, ruleresult.NotRun, rulelevel.Notice, ruleOutput), summaryText, "Non-fail result should not use message")
0 commit comments