mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
9 lines
230 B
Python
9 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
|