diff --git a/pe/file_test.go b/pe/file_test.go index 4f05102..79c2241 100644 --- a/pe/file_test.go +++ b/pe/file_test.go @@ -602,13 +602,10 @@ func TestImportTableInUnknownSection(t *testing.T) { if runtime.GOOS != "windows" { t.Skip("skipping Windows-only test") } - if runtime.GOARCH == "arm" { - // Issue 27904 - t.Skip("skipping test on arm; no atmfd.dll available") - } - // first we need to find this font driver - path, err := exec.LookPath("atmfd.dll") + // kernel32.dll import table is located in ".rdata" section, + // so it is good enough to test issue #16103. + path, err := exec.LookPath("kernel32.dll") if err != nil { t.Fatalf("unable to locate required file %q in search path: %s", "atmfd.dll", err) }