Permalink
Browse files

Change ElementToStr to element-to-str.

  • Loading branch information...
1 parent 6646402 commit 717851435b35a520836add78012bc67cdf5e66b6 @colomon committed Sep 2, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/ABC/Utils.pm
  2. +1 −1 t/07-stringify.t
View
@@ -9,7 +9,7 @@ package ABC::Utils {
$match.ast;
}
- sub ElementToStr($element-pair) is export {
+ sub element-to-str($element-pair) is export {
given $element-pair.key {
when "gracing" {
given $element-pair.value {
View
@@ -42,7 +42,7 @@ for @simple-cases -> $test-case {
for @simple-cases, @tricky-cases -> $test-case {
my $match = ABC::Grammar.parse($test-case, :rule<element>, :actions(ABC::Actions.new));
ok $match, "$test-case parsed";
- is ElementToStr($match.ast), $test-case, "ElementToStr version matches";
+ is element-to-str($match.ast), $test-case, "element-to-str version matches";
}
my @notes = <a b2 c/ d e f g3>.map({ str-to-stem($_) });

0 comments on commit 7178514

Please sign in to comment.