mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 22:40:09 +01:00
update test so patterns match
This commit is contained in:
parent
3713b225b7
commit
b19fe6ac45
1 changed files with 4 additions and 1 deletions
|
|
@ -166,7 +166,10 @@ def test_incr_invalid(runner):
|
||||||
def _add_project_files(*files):
|
def _add_project_files(*files):
|
||||||
if "README.md" in files:
|
if "README.md" in files:
|
||||||
with pl.Path("README.md").open(mode="wt", encoding="utf-8") as fh:
|
with pl.Path("README.md").open(mode="wt", encoding="utf-8") as fh:
|
||||||
fh.write("Hello World v201701.0002-alpha !\n")
|
fh.write("""
|
||||||
|
Hello World v201701.0002-alpha !
|
||||||
|
aka. 201701.2a0 !
|
||||||
|
""")
|
||||||
|
|
||||||
if "setup.cfg" in files:
|
if "setup.cfg" in files:
|
||||||
with pl.Path("setup.cfg").open(mode="wt", encoding="utf-8") as fh:
|
with pl.Path("setup.cfg").open(mode="wt", encoding="utf-8") as fh:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue