Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testVerify (0.08 sec)

  1. src/cmd/compile/internal/syntax/parser_test.go

    	skip   = flag.String("skip", "", "files matching this regular expression are skipped by TestStdLib")
    )
    
    func TestParse(t *testing.T) {
    	ParseFile(*src_, func(err error) { t.Error(err) }, nil, 0)
    }
    
    func TestVerify(t *testing.T) {
    	ast, err := ParseFile(*src_, func(err error) { t.Error(err) }, nil, 0)
    	if err != nil {
    		return // error already reported
    	}
    	verifyPrint(t, *src_, ast)
    }
    
    func TestStdLib(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 16:30:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top