diff --git a/t/missing-components.t b/t/missing-components.t index a7494fb..062c71a 100644 --- a/t/missing-components.t +++ b/t/missing-components.t @@ -2,7 +2,7 @@ use Test; use URI; use IETF::RFC_Grammar::URI; -plan 5; +plan 6; ok URI.new(uri=>''), "Empty URI is OK"; ok URI.new(uri=>'http:'), "Scheme-only URI is OK"; @@ -10,3 +10,5 @@ ok URI.new(uri=>'http:'), "Scheme-only URI is OK"; nok 'foo' ~~ IETF::RFC_Grammar::URI.new().TOP-non-empty, "TOP-non-empty works"; ok '#foo' ~~ IETF::RFC_Grammar::URI.new().URI-reference, "Relative URIs work"; ok '' ~~ IETF::RFC_Grammar::URI.new().path-abempty, "path-abempty work"; +nok 'foo:bar_baz' ~~ IETF::RFC_Grammar::URI.new().absolute-URI, + "absolute-URI covered"