Skip Menu |

This queue is for tickets about the Regexp-IPv6 CPAN distribution.

Report information
The Basics
Id: 52137
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Regexp-IPv6

People
Owner: salva [...] cpan.org
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.02
Fixed in: (no value)



Subject: More tests
Here's some more tests from the patch I wrote for Regexp::Common.
Subject: 0001-Merge-in-tests-from-my-own-implementation.patch
From 0fef26d1b65b776c15468391a514d83684065490 Mon Sep 17 00:00:00 2001 From: Michael G. Schwern <schwern@pobox.com> Date: Fri, 27 Nov 2009 17:18:19 -0800 Subject: [PATCH] Merge in tests from my own implementation. --- t/Regexp-IPv6.t | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/t/Regexp-IPv6.t b/t/Regexp-IPv6.t index e9238c3..40da4de 100644 --- a/t/Regexp-IPv6.t +++ b/t/Regexp-IPv6.t @@ -1,6 +1,6 @@ # -*- Mode: Perl -*- -use Test::More tests => 22; +use Test::More tests => 38; use Regexp::IPv6 qw($IPv6_re); @@ -53,7 +53,23 @@ fc00:: 2001:: 2001:10:: 2001:db8:: +0000:0000:0000:0000:0000:0000:0000:0001 +::1 +::ffff:192.0.2.128 +::ffff:c000:280 BAD: 127.0.0.1 +123 +ldkfj +2001::FFD3::57ab +2001:db8:85a3::8a2e:37023:7334 +2001:db8:85a3::8a2e:370k:7334 +1:2:3:4:5:6:7:8:9 +1::2::3 +1:::3:4:5 +1:2:3::4:5:6:7:8:9 +::ffff:2.3.4 +::ffff:257.1.2.3 +1.2.3.4 -- 1.6.5.2
thanks, merged!