MCPcopy Index your code
hub / github.com/php/frankenphp / testThreadCalculationError

Function testThreadCalculationError

phpmainthread_test.go:319–324  ·  view source on GitHub ↗
(t *testing.T, o *opt)

Source from the content-addressed store, hash-verified

317}
318
319func testThreadCalculationError(t *testing.T, o *opt) {
320 t.Helper()
321
322 _, err := calculateMaxThreads(o)
323 assert.Error(t, err, "configuration must error")
324}

Callers 1

Calls 2

calculateMaxThreadsFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected