Skip to content

Commit eecb469

Browse files
gustavobertoiclaude
andcommitted
test(expose): use English netsh sample in port-exclusion test
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 71ea721 commit eecb469

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

internal/workspace/ports_excluded_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ import (
66
)
77

88
// netshSample mirrors real `netsh int ipv4 show excludedportrange` output,
9-
// including the Portuguese localized header (the parser must be locale-agnostic)
10-
// and the trailing "*" note on administered exclusions.
9+
// including the header/separator lines (which the parser must skip regardless of
10+
// locale) and the trailing "*" note on administered exclusions.
1111
const netshSample = `
12-
Protocolo tcp Intervalos de Exclusão de Porta
12+
Protocol tcp Port Exclusion Ranges
1313
14-
Porta Inicial Porta Final
14+
Start Port End Port
1515
---------- --------
1616
50000 50059 *
1717
54235 54235
1818
58956 59055
1919
59056 59155
2020
21-
* - Exclusões de porta administradas.
21+
* - Administered port exclusions.
2222
`
2323

2424
func TestParseExcludedPortRanges(t *testing.T) {

0 commit comments

Comments
 (0)