Skip to content

Commit

Permalink
:p -> :pos
Browse files Browse the repository at this point in the history
  • Loading branch information
cjfields committed Apr 22, 2017
1 parent ae3d70c commit 14a7350
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/Grammar/Fasta.t
Expand Up @@ -10,9 +10,9 @@ class MyAction {
method record ($/) { * }
method description_line ($/) { * }
method id ($/) { * }
method identifier ($/) { say $/ }
method identifier ($/) { * }
method generic_id ($/) { * }
method description ($/) { say $/ }
method description ($/) { * }
method sequence ($/) { * }
}

Expand Down Expand Up @@ -47,7 +47,7 @@ is($/.from, 0);
is($/.to, 411);

# TODO: not working, likely :pos is NYI in Rakudo
ok( Bio::Grammar::Fasta.subparse( $fasta, :rule<record>, :p($/.to)));
ok( Bio::Grammar::Fasta.subparse( $fasta, :rule<record>, :pos($/.to)));
is($/.from, 411);
is($/.to, 804);

Expand Down

0 comments on commit 14a7350

Please sign in to comment.