go/src/cmd/go/internal/generate/generate_test.go

type splitTest

type splitTestWithLine

const anyLineNo

var splitTests

func TestGenerateCommandParse(t *testing.T) {}

var undefEnvList

var defEnvMap

// TestGenerateCommandShortHand - similar to TestGenerateCommandParse,
// except:
//  1. if the result starts with -command, record that shorthand
//     before moving on to the next test.
//  2. If a source line number is specified, set that in the parser
//     before executing the test.  i.e., execute the split as if it
//     processing that source line.
func TestGenerateCommandShorthand(t *testing.T) {}

var splitTestsLines

// TestGenerateCommandShortHand - similar to TestGenerateCommandParse,
// except:
//  1. if the result starts with -command, record that shorthand
//     before moving on to the next test.
//  2. If a source line number is specified, set that in the parser
//     before executing the test.  i.e., execute the split as if it
//     processing that source line.
func TestGenerateCommandShortHand2(t *testing.T) {}