(t *testing.T)
| 121 | } |
| 122 | |
| 123 | func TestResolveCommand_NotACommand(t *testing.T) { |
| 124 | t.Parallel() |
| 125 | |
| 126 | rt := &mockRuntime{ |
| 127 | commands: types.Commands{ |
| 128 | "test": types.Command{Instruction: "instruction"}, |
| 129 | }, |
| 130 | } |
| 131 | |
| 132 | result := ResolveCommand(t.Context(), rt, "regular message") |
| 133 | assert.Equal(t, "regular message", result) |
| 134 | } |
| 135 | |
| 136 | func TestResolveCommand_PositionalArgs(t *testing.T) { |
| 137 | t.Parallel() |
nothing calls this directly
no test coverage detected