mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 03:01:57 +02:00
kitten/hints/marks support for IPv6 addresses ending in ::
IPv6 addresses can end in zeros, and for example ifconfig.me is at 2600:1901:0:b2bd::.
This commit is contained in:
@@ -104,6 +104,7 @@ func TestHintMarking(t *testing.T) {
|
||||
r(`2001:db8::ff00:42:8329`, `2001:db8::ff00:42:8329`)
|
||||
r(`2001:DB8::FF00:42:8329`, `2001:DB8::FF00:42:8329`)
|
||||
r(`0000:0000:0000:0000:0000:0000:0000:0001`, `0000:0000:0000:0000:0000:0000:0000:0001`)
|
||||
r(`2600:1901:0:b2bd::`, `2600:1901:0:b2bd::`) // ifconfig.me
|
||||
r(`::1`, `::1`)
|
||||
r(`255.255.255.256`)
|
||||
r(`:1`)
|
||||
|
||||
Reference in New Issue
Block a user