mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-30 10:16:54 +00:00
7 lines
195 B
Python
7 lines
195 B
Python
import io
|
|
|
|
|
|
def test_hooks_yaml_same_contents():
|
|
legacy_contents = io.open('hooks.yaml').read()
|
|
contents = io.open('.pre-commit-hooks.yaml').read()
|
|
assert legacy_contents == contents
|