Skip to content

Commit

Permalink
#5: updated test_pattern_group_with_text to reflect the change of the…
Browse files Browse the repository at this point in the history
… default value for the group parameter for PatternGroupExtractor from 1 to 0.
  • Loading branch information
OOPMan committed Jan 13, 2016
1 parent bd78d85 commit 06691cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rightshift/tests/test_extractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ def test_pattern_group_with_text(prefix, postfix):
prefix + constant + postfix
]
for variant in variants:
assert pattern_group(constant, group=0)(variant) == constant
assert (pattern_group(another_constant, group=0) >> default(constant))(variant) == constant
assert pattern_group(constant)(variant) == constant
assert (pattern_group(another_constant) >> default(constant))(variant) == constant

0 comments on commit 06691cd

Please sign in to comment.