Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCallRunInCleanupHelper (0.34 sec)

  1. src/testing/panic_test.go

    			want: `panic: die
    	panic: test executed panic(nil) or runtime.Goexit`,
    		},
    		{
    			desc:  "Issue 48515: call t.Run in t.Cleanup should trigger panic",
    			flags: []string{"-test.run=^TestCallRunInCleanupHelper$"},
    			want:  `panic: testing: t.Run called during t.Cleanup`,
    		},
    	}
    
    	for _, tc := range testCases {
    		cmd := exec.Command(os.Args[0], tc.flags...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 16:49:24 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top