Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestInterruptWithPanic (0.86 sec)

  1. src/net/http/clientserver_test.go

    		}
    	}
    }
    
    func TestInterruptWithPanic(t *testing.T) {
    	run(t, func(t *testing.T, mode testMode) {
    		t.Run("boom", func(t *testing.T) { testInterruptWithPanic(t, mode, "boom") })
    		t.Run("nil", func(t *testing.T) { t.Setenv("GODEBUG", "panicnil=1"); testInterruptWithPanic(t, mode, nil) })
    		t.Run("ErrAbortHandler", func(t *testing.T) { testInterruptWithPanic(t, mode, ErrAbortHandler) })
    	}, testNotParallel)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
Back to top