small cleanups in tests

This commit is contained in:
Anthony Sottile 2019-01-06 11:52:22 -08:00
parent 782244a7b8
commit bea33af310
6 changed files with 30 additions and 78 deletions

View file

@ -129,7 +129,6 @@ def test_migrate_config_sha_to_rev(tmpdir):
'- repo: https://github.com/pre-commit/pre-commit-hooks\n'
' sha: v1.2.0\n'
' hooks: []\n'
'repos:\n'
'- repo: https://github.com/pre-commit/pre-commit-hooks\n'
' sha: v1.2.0\n'
' hooks: []\n'
@ -144,7 +143,6 @@ def test_migrate_config_sha_to_rev(tmpdir):
'- repo: https://github.com/pre-commit/pre-commit-hooks\n'
' rev: v1.2.0\n'
' hooks: []\n'
'repos:\n'
'- repo: https://github.com/pre-commit/pre-commit-hooks\n'
' rev: v1.2.0\n'
' hooks: []\n'