Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
319
func
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
TestCorrectThreadCalculation
Function · 0.85
Calls
2
calculateMaxThreads
Function · 0.85
Error
Method · 0.45
Tested by
no test coverage detected