You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: verify IPv6 canonicalization composes with hardware-address fields (#501)
Because a HARDWARE_ADDRESS field (Match=, Link=, Neighbor=) accepts IPv6
literals via the shared IPV6_ADDR combinator — which carries SemanticTag.IPV6
— the RFC 5952 canonicalization inspection and its quick-fix work there too.
Add tests proving: a non-canonical IPv6 in Match=/Link= is flagged and
rewritten (including rewriting only the IPv6 within a list, exercising the
quick-fix offset); a plain MAC is untouched; and a strict 6-byte MAC field
(SR-IOV=) never triggers it. Also assert both combinators colour as a single
Role.LITERAL span.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/semanticdata/optionvalues/grammar/MacAddressGrammarTest.kt
0 commit comments