(t *testing.T)
| 60 | } |
| 61 | |
| 62 | func TestScpController_TryCopy_AliasInDest(t *testing.T) { |
| 63 | cfg := newTestMainConfig() |
| 64 | ctrl := NewScpController("/local/file.txt", "server1:/remote/path/", cfg) |
| 65 | |
| 66 | // Verify controller created correctly |
| 67 | assert.Equal(t, "server1:/remote/path/", ctrl.destination) |
| 68 | |
| 69 | // Verify alias resolution for destination |
| 70 | resolved := config.ResolveAlias("server1", cfg) |
| 71 | assert.Equal(t, "192.168.1.1", resolved) |
| 72 | } |
| 73 | |
| 74 | func TestScpController_Fields(t *testing.T) { |
| 75 | cfg := newTestMainConfig() |
nothing calls this directly
no test coverage detected