(t *testing.T)
| 160 | } |
| 161 | |
| 162 | func TestResolveCommand_AllArgs(t *testing.T) { |
| 163 | t.Parallel() |
| 164 | |
| 165 | rt := &mockRuntime{ |
| 166 | commands: types.Commands{ |
| 167 | "run": types.Command{Instruction: `Run command with args: ${args.join(" ")}`}, |
| 168 | }, |
| 169 | } |
| 170 | |
| 171 | result := ResolveCommand(t.Context(), rt, "/run arg1 arg2 arg3") |
| 172 | assert.Equal(t, "Run command with args: arg1 arg2 arg3", result) |
| 173 | } |
| 174 | |
| 175 | func TestResolveCommand_ArgsPlaceholder(t *testing.T) { |
| 176 | t.Parallel() |
nothing calls this directly
no test coverage detected