MCPcopy Index your code
hub / github.com/riverqueue/river / TestPackageFromFunc

Function TestPackageFromFunc

riverdbtest/riverdbtest_test.go:251–256  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

249}
250
251func TestPackageFromFunc(t *testing.T) {
252 t.Parallel()
253
254 require.Equal(t, "river", packageFromFunc("github.com/riverqueue/river.Test_Client.func1"))
255 require.Equal(t, "jobcompleter", packageFromFunc("github.com/riverqueue/river/internal/jobcompleter.testCompleterWait"))
256}
257
258func TestTestTx(t *testing.T) {
259 t.Parallel()

Callers

nothing calls this directly

Calls 1

packageFromFuncFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…