Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIssue28089 (0.12 sec)

  1. src/go/ast/issues_test.go

    		fdEnd := int(fd.End())
    
    		if fdEnd != tfEnd {
    			t.Errorf("%q: got fdEnd = %d; want %d (base = %d, size = %d)", src, fdEnd, tfEnd, tf.Base(), tf.Size())
    		}
    	}
    }
    
    // TestIssue28089 exercises the IsGenerated function.
    func TestIssue28089(t *testing.T) {
    	for i, test := range []struct {
    		src  string
    		want bool
    	}{
    		// No file comments.
    		{`package p`, false},
    		// Irrelevant file comments.
    		{`// Package p doc.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 25 13:57:33 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top