Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIssue17697 (0.31 sec)

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

    		fmt.Println()
    
    		fmt.Printf("--- %s ---\n", filename)
    		fmt.Printf("%s\n", bytes2)
    		fmt.Println()
    
    		t.Error("printed syntax trees do not match")
    	}
    }
    
    func TestIssue17697(t *testing.T) {
    	_, err := Parse(nil, bytes.NewReader(nil), nil, nil, 0) // return with parser error, don't panic
    	if err == nil {
    		t.Errorf("no error reported")
    	}
    }
    
    func TestParseFile(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