(t *testing.T)
| 186 | } |
| 187 | |
| 188 | func TestResolveCommand_ArgsPlaceholderEmpty(t *testing.T) { |
| 189 | t.Parallel() |
| 190 | |
| 191 | rt := &mockRuntime{ |
| 192 | commands: types.Commands{ |
| 193 | "run": types.Command{Instruction: `Run command with args: ${args.join(" ")}`}, |
| 194 | }, |
| 195 | } |
| 196 | |
| 197 | result := ResolveCommand(t.Context(), rt, "/run") |
| 198 | assert.Equal(t, "Run command with args: ", result) |
| 199 | } |
| 200 | |
| 201 | func TestResolveCommand_ArgsPlaceholderWithPositional(t *testing.T) { |
| 202 | t.Parallel() |
nothing calls this directly
no test coverage detected