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
Put rule ID suffix on new line when rule message is multi-line
Readability of rule message output may be improved by inserting strategic line breaks. In this case, the current behavior
of appending the rule ID suffix to the non-verbose rule violation output on the same line will not always be appropriate.
So when the rule message contains explicit line breaks, the rule ID should be appended on a new line, with the previous
behavior preserved in the case of single line rule messages (which will be wrapped according to the column size).
assert.Equal(t, fmt.Sprintf("Rule %s result: %s\n", ruleConfiguration.ID, ruleresult.Pass), summaryText, "Non-failure result with no rule function output should only use preface")
outputAssertion="ERROR: Path does not contain a valid Arduino library. See: \n https://arduino.github.io/arduino-cli/latest/library-specification (Rule LS001) \n"
0 commit comments