Skip to content

Commit 4796e64

Browse files
committed
Improve scenarios
1 parent 21630bc commit 4796e64

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

features/patch-fuzzy-matching-git.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Feature: Patch application tolerates small upstream changes
4646
Generated file for SomeProject
4747
This repository is used for testing.
4848
"""
49-
And the patch file 'SomeProject.patch' in SomeProject
49+
And the patch file 'SomeProject.patch' in MyProject
5050
"""
5151
diff --git a/README.md b/README.md
5252
index 1e65bd6..faa3b21 100644

features/steps/generic_steps.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ def check_output(context, line_count=None):
198198
"""
199199
expected_text = multisub(
200200
patterns=[
201+
(dfetch_title, "Dfetch (x.x.x)"),
201202
(git_hash, r"\1[commit-hash]\2"),
202203
(timestamp, "[timestamp]"),
203204
(ansi_escape, ""),
@@ -208,6 +209,7 @@ def check_output(context, line_count=None):
208209

209210
actual_text = multisub(
210211
patterns=[
212+
(dfetch_title, "Dfetch (x.x.x)"),
211213
(git_hash, r"\1[commit-hash]\2"),
212214
(timestamp, "[timestamp]"),
213215
(ansi_escape, ""),

0 commit comments

Comments
 (0)