Skip to content

Commit

Permalink
Merge pull request #230 from atc0005/hotfix-goconst-linting-errors-fo…
Browse files Browse the repository at this point in the history
…r-test-cases

Hotfix goconst linting errors for test cases
  • Loading branch information
atc0005 authored Nov 21, 2023
2 parents 8c52644 + ea00dc0 commit 994b437
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exported_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func TestPluginOutputIsValid(t *testing.T) {
90,
)

//nolint:goconst
plugin.ServiceOutput =
"OK: Datastore HUSVM-DC1-vol6 space usage (0 VMs)" +
" is 0.01% of 18.0TB with 18.0TB remaining" +
Expand Down Expand Up @@ -160,6 +161,7 @@ func TestPerformanceDataIsOnSameLineAsServiceOutput(t *testing.T) {
// os.Exit calls break tests
plugin.SkipOSExit()

//nolint:goconst
plugin.ServiceOutput =
"OK: Datastore HUSVM-DC1-vol6 space usage (0 VMs)" +
" is 0.01% of 18.0TB with 18.0TB remaining" +
Expand Down Expand Up @@ -222,6 +224,7 @@ func TestPerformanceDataIsAfterLongServiceOutput(t *testing.T) {
90,
)

//nolint:goconst
plugin.ServiceOutput =
"OK: Datastore HUSVM-DC1-vol6 space usage (0 VMs)" +
" is 0.01% of 18.0TB with 18.0TB remaining" +
Expand Down

0 comments on commit 994b437

Please sign in to comment.