Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/root/386/go/src/cmd/go/testdata/script/test_badtest.txt

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


env GO111MODULE=off

! go test badtest/...
! stdout ^ok
stdout ^FAIL\tbadtest/badexec
stdout ^FAIL\tbadtest/badsyntax
stdout ^FAIL\tbadtest/badvar

-- badtest/badexec/x_test.go --
package badexec

func init() {
	panic("badexec")
}

-- badtest/badsyntax/x.go --
package badsyntax

-- badtest/badsyntax/x_test.go --
package badsyntax

func func func func func!

-- badtest/badvar/x.go --
package badvar

-- badtest/badvar/x_test.go --
package badvar_test

func f() {
	_ = notdefined
}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.