Permalink
Browse files

Fix too specific test

Rakudo update removed the rogue space at the end and now test fails.
Fix by not making the test so specific
  • Loading branch information...
zoffixznet committed Jun 11, 2017
1 parent 9804406 commit 0cee3fdb468e3ede766560324ad49bd936125f6b
Showing with 5 additions and 5 deletions.
  1. +5 −5 t/abnf.t
@@ -315,11 +315,11 @@ ok $rfc4466g.parse('EXAMINE INBOX', :rule<examine>),
ok $rfc4466g.parse('FETCH 1 BODY[]', :rule<fetch>),
'Can parse an rfc4466 fetch command';
throws-like { $rfc4466g.parse('LOGIN MyUsername MyPassword', :rule<login>) },
X::NYI, message => "This ABNF Grammar requires you to mix in custom code to do
the following:
any CHAR except atom-specials
...which you may have to write yourself.
Such a mixin not yet implemented. Sorry. ";
X::NYI, message => /
"This ABNF Grammar requires you to mix in custom code" .+?
"any CHAR except atom-specials" .+?
"which you may have to write yourself"
/;
throws-like { $rfc4466g.parse("foo", :rule<fake-rule-name>) }, X::Method::NotFound;

0 comments on commit 0cee3fd

Please sign in to comment.