Skip to content

Commit e2da79d

Browse files
committed
test(config): add tests for newly added style config
#37
1 parent 397c9af commit e2da79d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/test_conf.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
"commitizen/__version__.py",
1212
"pyproject.toml"
1313
]
14+
style = [
15+
["pointer", "reverse"],
16+
["question", "underline"]
17+
]
1418
1519
[tool.black]
1620
line-length = 88
@@ -25,6 +29,10 @@
2529
"commitizen/__version__.py",
2630
"pyproject.toml"
2731
]
32+
style = [
33+
["pointer", "reverse"],
34+
["question", "underline"]
35+
]
2836
"""
2937

3038
_config = {
@@ -33,6 +41,7 @@
3341
"tag_format": None,
3442
"bump_message": None,
3543
"files": ["commitizen/__version__.py", "pyproject.toml"],
44+
"style": [["pointer", "reverse"], ["question", "underline"]]
3645
}
3746

3847
_new_config = {
@@ -41,12 +50,14 @@
4150
"tag_format": None,
4251
"bump_message": None,
4352
"files": ["commitizen/__version__.py", "pyproject.toml"],
53+
"style": [["pointer", "reverse"], ["question", "underline"]]
4454
}
4555

4656
_read_conf = {
4757
"name": "cz_jira",
4858
"version": "1.0.0",
4959
"files": ["commitizen/__version__.py", "pyproject.toml"],
60+
"style": [["pointer", "reverse"], ["question", "underline"]]
5061
}
5162

5263

0 commit comments

Comments
 (0)