Commit f4986f6
fix(3c-ii): address Copilot review on PR #12
- ServerResolver ctor XML doc: 'servers' is the IServerService, not a list.
- Rename ServerResolver test DefaultsToSingleServer_IgnoringArg ->
DefaultsToSingleServer_WhenNoArg: it passes a null arg, so the name now
matches what it covers. (The single-server + explicit-non-matching-arg ->
'unknown' path is already covered by ReturnsUnknownError_WhenArgNotRegistered.)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 676572d commit f4986f6
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- src/RustPlusBot.Features.Commands/Servers
- tests/RustPlusBot.Features.Commands.Tests/Servers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments