summaryrefslogtreecommitdiff
path: root/test/recover2.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/recover2.go')
-rw-r--r--test/recover2.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/recover2.go b/test/recover2.go
index c95af8f62..48b050330 100644
--- a/test/recover2.go
+++ b/test/recover2.go
@@ -83,8 +83,8 @@ func test6() {
}
func test7() {
- if syscall.ARCH == "arm" || syscall.OS == "nacl" {
- // ARM doesn't have integer divide trap yet
+ if syscall.OS == "nacl" {
+ // NaCl cannot handle traps
return
}
defer mustRecover("divide by zero")