Skip to content

Commit

Permalink
Add lint exceptions
Browse files Browse the repository at this point in the history
Signed-off-by: Prasad Chandrasekaran <[email protected]>
  • Loading branch information
pchan committed May 30, 2023
1 parent df0637a commit 9e448e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/termscounter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (

// This variable mimics the code generated by gofail code package.
// This works in tandem with exampleFunc function.
var __fp_ExampleString *runtime.Failpoint
var __fp_ExampleString *runtime.Failpoint //nolint:stylecheck

// check if failpoint is initialized as gofail
// tests can clear global variables of runtime packages
func initFP() {
if __fp_ExampleString == nil {
if __fp_ExampleString == nil { //nolint:stylecheck
__fp_ExampleString = runtime.NewFailpoint("ExampleString") //nolint:stylecheck
}
}
Expand Down

0 comments on commit 9e448e5

Please sign in to comment.