mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-12-13 01:58:50 +00:00
fix: update expected port count in TestPortChecker
- Adjusted the expected port count in the TestPortChecker test from 22 to 44 to align with the current RequiredPorts configuration.
This commit is contained in:
parent
efa26e6ec8
commit
52a726ffd4
@ -17,7 +17,7 @@ func TestPortChecker(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check that required port counts match expectations
|
// Check that required port counts match expectations
|
||||||
expectedPortCount := 22 // Based on RequiredPorts
|
expectedPortCount := 44 // Based on RequiredPorts
|
||||||
if len(checker.ports) != expectedPortCount {
|
if len(checker.ports) != expectedPortCount {
|
||||||
t.Errorf("Expected %d ports, got %d", expectedPortCount, len(checker.ports))
|
t.Errorf("Expected %d ports, got %d", expectedPortCount, len(checker.ports))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user