// Check is fatal to the test if err is not nil.

Check is fatal to the test if err is not nil.
// Check is fatal to the test if err is not nil .
func (g *GopathTest) Check(err error) {
	if err == nil {
		return
	}
	g.Fatal(err)
}
func ( g * GopathTest ) Check ( err error ) { if err == nil { return } g . Fatal ( err ) }
Check is fatal to the test if err is not nil.
Check is fatal to the test if err is not nil .