Skip to content

Commit 48deaeb

Browse files
committed
tests: apply skip on linter tests
1 parent e69fc78 commit 48deaeb

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

test/fix_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import (
1212
)
1313

1414
func TestFix(t *testing.T) {
15+
testshared.SkipOnWindows(t)
16+
1517
tmpDir := filepath.Join(testdataDir, "fix.tmp")
1618
_ = os.RemoveAll(tmpDir) // cleanup previous runs
1719

test/testdata/depguard_ignore_file_rules.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build !windows
2+
13
//golangcitest:args -Edepguard
24
//golangcitest:config_path testdata/configs/depguard_ignore_file_rules.yml
35
//golangcitest:expected_exitcode 0

test/testdata/ifshort.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build !windows
2+
13
//golangcitest:args -Eifshort --internal-cmd-test
24
package testdata
35

0 commit comments

Comments
 (0)