Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for verifyPanic (0.26 sec)

  1. src/cmd/cover/testdata/main.go

    			PASS = false
    		}
    	}
    	verifyPanic()
    	if !PASS {
    		fmt.Fprintf(os.Stderr, "FAIL\n")
    		os.Exit(2)
    	}
    }
    
    // verifyPanic is a special check for the known counter that should be
    // after the panic call in testPanic.
    func verifyPanic() {
    	if coverTest.Count[panicIndex-1] != 1 {
    		// Sanity check for test before panic.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 16:40:40 UTC 2016
    - 3K bytes
    - Viewed (0)
Back to top