]> Cypherpunks repositories - gostls13.git/commit
test: restore tests for the reject unsafe code option
authorYury Smolsky <yury@smolsky.by>
Wed, 18 Jul 2018 10:05:29 +0000 (13:05 +0300)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 22 Aug 2018 17:54:09 +0000 (17:54 +0000)
commit1484270aec14b9d971b94832d0fac9d3db382cf9
tree9fc57e3b8e853804de1dee0f7c93d1d69b2dfd64
parent43704759b4a26c4090212e2d63d23579497d5e50
test: restore tests for the reject unsafe code option

Tests in test/safe were neglected after moving to the run.go
framework. This change restores them.

These tests are skipped for go/types via -+ option.

Fixes #25668

Change-Id: I8fe26574a76fa7afa8664c467d7c2e6334f1bba9
Reviewed-on: https://go-review.googlesource.com/124660
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
test/safe/main.go [deleted file]
test/safe/nousesafe.go [deleted file]
test/safe/pkg.go [deleted file]
test/safe/usesafe.go [deleted file]
test/unsafereject1.go [new file with mode: 0644]
test/unsafereject2.go [new file with mode: 0644]