Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testBuiltinSignature (0.21 sec)

  1. src/cmd/compile/internal/types2/builtins_test.go

    }
    
    func TestBuiltinSignatures(t *testing.T) {
    	DefPredeclaredTestFuncs()
    
    	seen := map[string]bool{"trace": true} // no test for trace built-in; add it manually
    	for _, call := range builtinCalls {
    		testBuiltinSignature(t, call.name, call.src, call.sig)
    		seen[call.name] = true
    	}
    
    	// make sure we didn't miss one
    	for _, name := range Universe.Names() {
    		if _, ok := Universe.Lookup(name).(*Builtin); ok && !seen[name] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. src/go/types/builtins_test.go

    }
    
    func TestBuiltinSignatures(t *testing.T) {
    	DefPredeclaredTestFuncs()
    
    	seen := map[string]bool{"trace": true} // no test for trace built-in; add it manually
    	for _, call := range builtinCalls {
    		testBuiltinSignature(t, call.name, call.src, call.sig)
    		seen[call.name] = true
    	}
    
    	// make sure we didn't miss one
    	for _, name := range Universe.Names() {
    		if _, ok := Universe.Lookup(name).(*Builtin); ok && !seen[name] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top