aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/runtime_test.go')
-rw-r--r--src/runtime/runtime_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/runtime_test.go b/src/runtime/runtime_test.go
index 2faf06e2b9..0839cd96b7 100644
--- a/src/runtime/runtime_test.go
+++ b/src/runtime/runtime_test.go
@@ -207,8 +207,8 @@ func TestSetPanicOnFault(t *testing.T) {
//
//go:nocheckptr
func testSetPanicOnFault(t *testing.T, addr uintptr, nfault *int) {
- if GOOS == "js" {
- t.Skip("js does not support catching faults")
+ if GOOS == "js" || GOOS == "wasip1" {
+ t.Skip(GOOS + " does not support catching faults")
}
defer func() {