More invalid tests

master
Manfred Touron 9 years ago
parent 120f82d221
commit ec6f90c111
No known key found for this signature in database
GPG Key ID: 0DCB9CE0CABAE1B5

@ -86,14 +86,29 @@ S-S-S-+
| +-^
+---+->B
+---^
`,
`
S-----+
| |
+-----+
`,
`
S
`,
}
var outputs = []string{
"a", "b", "b", "Q", "A", "B", "Y", "B", "E", "", "", "",
"a", "b", "b", "Q", "A", "B", "Y", "B", "E", "", "", "", "", "", "",
}
var errs = []error{
nil, nil, nil, nil, nil, nil, nil, nil, nil, fmt.Errorf("No such starting point"), fmt.Errorf("No such starting point"), fmt.Errorf("Multiple starting points"),
nil, nil, nil, nil, nil, nil, nil, nil, nil,
fmt.Errorf("No such starting point"),
fmt.Errorf("No such starting point"),
fmt.Errorf("Multiple starting points"),
fmt.Errorf("Nothing to do, cannot continue"),
fmt.Errorf("Nothing to do, cannot continue"),
}
func ExampleResolver_a() {

Loading…
Cancel
Save