Skip to content

Commit

Permalink
Fix too specific test
Browse files Browse the repository at this point in the history
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 0cee3fd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions t/abnf.t
Expand Up @@ -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;
Expand Down

0 comments on commit 0cee3fd

Please sign in to comment.