mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 20:40:08 -06:00
10 lines
230 B
Python
10 lines
230 B
Python
import io
|
|
|
|
import pre_commit.constants as C
|
|
|
|
|
|
def test_hooks_yaml_same_contents():
|
|
legacy_contents = io.open(C.MANIFEST_FILE_LEGACY).read()
|
|
contents = io.open(C.MANIFEST_FILE).read()
|
|
assert legacy_contents == contents
|