mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-13 07:41:19 +08:00
8 lines
195 B
Python
8 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
|