(t *testing.T)
| 239 | } |
| 240 | |
| 241 | func TestFirstArg_FromInput(t *testing.T) { |
| 242 | req := &implantpb.Request{Input: "fallback"} |
| 243 | if got := firstArg(req); got != "fallback" { |
| 244 | t.Errorf("firstArg from Input: got %q", got) |
| 245 | } |
| 246 | } |
| 247 | |
| 248 | func TestFirstArg_Nil(t *testing.T) { |
| 249 | if got := firstArg(nil); got != "" { |
nothing calls this directly
no test coverage detected