build(deps): bump github.com/quasilyte/go-ruleguard from v0.3.19 to v0.4.0 ()

This commit is contained in:
Ludovic Fernandez 2023-08-10 12:11:03 +02:00 committed by GitHub
parent 03b1824ef5
commit ea4481a196
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 39 deletions

View file

@ -44,12 +44,6 @@ func TestFix(t *testing.T) {
for _, input := range sources {
input := input
// TODO(ldez): remove this limitation when gocritic/ruleguard will be fixed.
if filepath.Base(input) == "gocritic.go" {
t.Logf("skip gocritic because of a bug with ruleguard")
continue
}
t.Run(filepath.Base(input), func(t *testing.T) {
t.Parallel()
@ -88,12 +82,6 @@ func TestFix_pathPrefix(t *testing.T) {
for _, input := range sources {
input := input
// TODO(ldez): remove this limitation when gocritic/ruleguard will be fixed.
if filepath.Base(input) == "gocritic.go" {
t.Logf("skip gocritic because of a bug with ruleguard")
continue
}
t.Run(filepath.Base(input), func(t *testing.T) {
t.Parallel()