File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
1111const 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
2424func TestParseExcludedPortRanges (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments