MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / TestFirstArg_Nil

Function TestFirstArg_Nil

internal/bridge/module_shell_test.go:248–252  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

246}
247
248func TestFirstArg_Nil(t *testing.T) {
249 if got := firstArg(nil); got != "" {
250 t.Errorf("firstArg nil: got %q", got)
251 }
252}
253
254func TestSecondArg_Adapter(t *testing.T) {
255 req := &implantpb.Request{Args: []string{"a", "b"}}

Callers

nothing calls this directly

Calls 1

firstArgFunction · 0.85

Tested by

no test coverage detected