[libtest-bdd-cucumber-perl] 28/52: remove the asterisk from the list of available keywords since it doesn't work right now
Intrigeri
intrigeri at moszumanska.debian.org
Thu Jun 19 10:18:34 UTC 2014
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to annotated tag 0.19
in repository libtest-bdd-cucumber-perl.
commit fc765388a249cc19f0b830793cb0bae73b454c7b
Author: glauschwuffel <glauschwuffel at nomaden.org>
Date: Thu May 29 13:42:04 2014 +0200
remove the asterisk from the list of available keywords since it doesn't work right now
---
lib/Test/BDD/Cucumber/I18n.pm | 2 +-
lib/Test/BDD/Cucumber/StepFile.pm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/Test/BDD/Cucumber/I18n.pm b/lib/Test/BDD/Cucumber/I18n.pm
index 7606cd6..5490123 100644
--- a/lib/Test/BDD/Cucumber/I18n.pm
+++ b/lib/Test/BDD/Cucumber/I18n.pm
@@ -58,7 +58,7 @@ sub langdef {
sub readable_keywords {
my ($string, $transform)=@_;
- my @keywords= grep { $_ ne '[*]' } split(/\|/, $string);
+ my @keywords= grep { $_ ne '*' } split(/\|/, $string);
@keywords = map { $transform->($_) } @keywords if $transform;
diff --git a/lib/Test/BDD/Cucumber/StepFile.pm b/lib/Test/BDD/Cucumber/StepFile.pm
index 0728ce0..8cc34a4 100755
--- a/lib/Test/BDD/Cucumber/StepFile.pm
+++ b/lib/Test/BDD/Cucumber/StepFile.pm
@@ -104,7 +104,7 @@ sub _alias_function {
my @keywords=split('\|', $keywords);
for my $word (@keywords) {
# asterisks won't be aliased to any sub
- next if $word eq '[*]';
+ next if $word eq '*';
my $subname=keyword_to_subname($word);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtest-bdd-cucumber-perl.git
More information about the Pkg-perl-cvs-commits
mailing list