Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ExampleT_suffix (1.59 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    		// Abort since obj is absent and no subsequent checks can be performed.
    		return
    	}
    	if len(elems) < 2 {
    		// Nothing more to do.
    		return
    	}
    
    	if ident == "" {
    		// Check Example_suffix and Example_BadSuffix.
    		if residual := strings.TrimPrefix(exName, "_"); !isExampleSuffix(residual) {
    			pass.Reportf(fn.Pos(), "%s has malformed example suffix: %s", fnName, residual)
    		}
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top