File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed
Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -220,15 +220,18 @@ def test_is_conventional__missing_delimiter():
220220 assert not format .is_conventional (input )
221221
222222
223- @pytest .mark .parametrize ('input,has_prefix' , [
224- ('amend! ' , True ),
225- ('fixup! ' , True ),
226- ('squash! ' , True ),
227- ('squash! whatever .. $12 #' , True ),
228- ('squash!' , False ),
229- (' squash! ' , False ),
230- ('squash!:' , False ),
231- ('feat(foo):' , False ),
232- ])
223+ @pytest .mark .parametrize (
224+ "input,has_prefix" ,
225+ [
226+ ("amend! " , True ),
227+ ("fixup! " , True ),
228+ ("squash! " , True ),
229+ ("squash! whatever .. $12 #" , True ),
230+ ("squash!" , False ),
231+ (" squash! " , False ),
232+ ("squash!:" , False ),
233+ ("feat(foo):" , False ),
234+ ],
235+ )
233236def test_has_autosquash_prefix (input , has_prefix ):
234237 assert format .has_autosquash_prefix (input ) == has_prefix
You can’t perform that action at this time.
0 commit comments