Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCoverFunc (0.56 sec)

  1. src/cmd/cover/cover_test.go

    		}
    		directives = append(directives, directive)
    		offset += i + j
    	}
    	return directives
    }
    
    // Makes sure that `cover -func=profile.cov` reports accurate coverage.
    // Issue #20515.
    func TestCoverFunc(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	// testcover -func ./testdata/profile.cov
    	coverProfile := filepath.Join(testdata, "profile.cov")
    	cmd := testenv.Command(t, testcover(t), "-func", coverProfile)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top