Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for helperCallingHelper (0.24 sec)

  1. src/testing/helperfuncs_test.go

    	t.Error(msg)
    }
    
    func helper(t *testing.T, msg string) {
    	t.Helper()
    	t.Error(msg)
    }
    
    func notHelperCallingHelper(t *testing.T, msg string) {
    	helper(t, msg)
    }
    
    func helperCallingHelper(t *testing.T, msg string) {
    	t.Helper()
    	helper(t, msg)
    }
    
    func genericHelper[G any](t *testing.T, msg string) {
    	t.Helper()
    	t.Error(msg)
    }
    
    var genericIntHelper = genericHelper[int]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:24:47 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top