Skip to content

Commit

Permalink
fix: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
x1unix committed Jul 16, 2024
1 parent 82167ea commit 92931a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/pkgindex/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ func TestShouldIgnoreFileName(t *testing.T) {
"foo_openbsd_arm64.go",
"foo_netbsd_riscv64.go",
"mmap_unix_test.go",
"zerrors_linux_mips64.go",
}

allowFiles := []string{
Expand All @@ -26,6 +27,7 @@ func TestShouldIgnoreFileName(t *testing.T) {
"foo_js_wasm.go",
"env_unix.go",
"exec_linux.go",
"zerrors_linux_amd64.go",
}

t.Run("ignore", func(t *testing.T) {
Expand Down

0 comments on commit 92931a9

Please sign in to comment.