Skip to content

fix: check correct variable in test guard conditions#148

Open
Aprazor wants to merge 1 commit intoczerwonk:mainfrom
Aprazor:fix/test-guard-wrong-variable
Open

fix: check correct variable in test guard conditions#148
Aprazor wants to merge 1 commit intoczerwonk:mainfrom
Aprazor:fix/test-guard-wrong-variable

Conversation

@Aprazor
Copy link
Copy Markdown

@Aprazor Aprazor commented Mar 20, 2026

The guards checked len(ipv4Addr) and len(ipv6Addr) (localhost
results) instead of len(ipv4AddrGoogle) and len(ipv6AddrGoogle).
If the Google lookups returned empty, tests would continue and
panic on ipv4AddrGoogle[0] access.

The guards checked len(ipv4Addr) and len(ipv6Addr) (localhost
results) instead of len(ipv4AddrGoogle) and len(ipv6AddrGoogle).
If the Google lookups returned empty, tests would continue and
panic on ipv4AddrGoogle[0] access.
@Aprazor Aprazor requested a review from czerwonk as a code owner March 20, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant