mirror of
https://github.com/securego/gosec.git
synced 2025-11-29 22:37:59 +02:00
Fix lint and fail on error in the ci build
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package junit
|
||||
|
||||
//NewTestsuite instantiate a Testsuite
|
||||
// NewTestsuite instantiate a Testsuite
|
||||
func NewTestsuite(name string) *Testsuite {
|
||||
return &Testsuite{
|
||||
Name: name,
|
||||
}
|
||||
}
|
||||
|
||||
//NewFailure instantiate a Failure
|
||||
// NewFailure instantiate a Failure
|
||||
func NewFailure(message string, text string) *Failure {
|
||||
return &Failure{
|
||||
Message: message,
|
||||
@@ -15,7 +15,7 @@ func NewFailure(message string, text string) *Failure {
|
||||
}
|
||||
}
|
||||
|
||||
//NewTestcase instantiate a Testcase
|
||||
// NewTestcase instantiate a Testcase
|
||||
func NewTestcase(name string, failure *Failure) *Testcase {
|
||||
return &Testcase{
|
||||
Name: name,
|
||||
|
||||
Reference in New Issue
Block a user