diff options
Diffstat (limited to 'src/encoding/xml/read_test.go')
-rw-r--r-- | src/encoding/xml/read_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/encoding/xml/read_test.go b/src/encoding/xml/read_test.go index de5282aff0..1362f7f287 100644 --- a/src/encoding/xml/read_test.go +++ b/src/encoding/xml/read_test.go @@ -9,7 +9,6 @@ import ( "errors" "io" "reflect" - "runtime" "strings" "testing" "time" @@ -1084,8 +1083,8 @@ func TestUnmarshalWhitespaceAttrs(t *testing.T) { } func TestCVE202230633(t *testing.T) { - if runtime.GOARCH == "wasm" { - t.Skip("causes memory exhaustion on js/wasm") + if testing.Short() { + t.Skip("test requires significant memory") } defer func() { p := recover() |