Skip to content

Commit

Permalink
chore(test): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Oct 18, 2023
1 parent 2795438 commit 53d35df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration/lint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func Test_LintStructured(t *testing.T) {
rulesetFile string
expectedFile string
format string
displayOnlyFailrues bool
displayOnlyFailures bool
failSeverity string
}{
{
Expand All @@ -71,7 +71,7 @@ func Test_LintStructured(t *testing.T) {
rulesetFile: "testdata/lint/001-simple-lint/ruleset.yaml",
expectedFile: "testdata/lint/001-simple-lint/expected-fail-severity-error.yaml",
format: "yaml",
displayOnlyFailrues: true,
displayOnlyFailures: true,
failSeverity: "error",
},
{
Expand All @@ -87,7 +87,7 @@ func Test_LintStructured(t *testing.T) {
rulesetFile: "testdata/lint/001-simple-lint/ruleset.yaml",
expectedFile: "testdata/lint/001-simple-lint/expected-fail-severity-error.json",
format: "json",
displayOnlyFailrues: true,
displayOnlyFailures: true,
failSeverity: "error",
},
}
Expand All @@ -98,7 +98,7 @@ func Test_LintStructured(t *testing.T) {
"--format", tc.format,
tc.rulesetFile,
}
if tc.displayOnlyFailrues {
if tc.displayOnlyFailures {
lintOpts = append(lintOpts, "--display-only-failures")
}
if tc.failSeverity != "" {
Expand Down

0 comments on commit 53d35df

Please sign in to comment.