From 43e061ba2a91710feb0550dcaf1028ade22fbdd3 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Thu, 5 Nov 2026 20:09:38 +0900 Subject: [PATCH] =?UTF-8?q?test(791-1):=20=EB=A7=88=EC=8A=A4=ED=84=B0=20?= =?UTF-8?q?=EC=A7=80=EB=AC=B8=20=ED=95=B4=EC=8B=9C=EA=B0=80=20=EC=A4=84?= =?UTF-8?q?=EB=B0=94=EA=BF=88(CRLF/LF)=20=EB=AC=B4=EA=B4=80=20+=20?= =?UTF-8?q?=EC=A7=80=EB=AC=B8=20fixture=20=EB=A7=88=EC=8A=A4=ED=84=B0=20?= =?UTF-8?q?=EC=B9=B8=20=EC=9E=AC=EC=A0=80=EC=9E=A5(=EA=B2=B0=EA=B3=BC=20?= =?UTF-8?q?=EC=B9=B8=20=EA=B7=B8=EB=8C=80=EB=A1=9C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 폴더마다 체크아웃 줄바꿈이 달라 메인 폴더에서 test_794_2b 셈 지문 시험이 깨짐. Co-Authored-By: Claude Sonnet 5.5 --- resources/tester/fixtures/m01_791_1_logic_fingerprint.json | 2 +- resources/tester/test_791_1_engine_semantics.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/tester/fixtures/m01_791_1_logic_fingerprint.json b/resources/tester/fixtures/m01_791_1_logic_fingerprint.json index 9a138e2dd..c407d9408 100644 --- a/resources/tester/fixtures/m01_791_1_logic_fingerprint.json +++ b/resources/tester/fixtures/m01_791_1_logic_fingerprint.json @@ -1520,5 +1520,5 @@ "GF000336": "a9b9e0bb0f7da1f0", "GX000004": "a3f4c454a5764d6e" }, - "마스터": "884c1240fa2c924d" + "마스터": "70896c23b6b406b0" } diff --git a/resources/tester/test_791_1_engine_semantics.py b/resources/tester/test_791_1_engine_semantics.py index 81c016c1b..52ff16880 100644 --- a/resources/tester/test_791_1_engine_semantics.py +++ b/resources/tester/test_791_1_engine_semantics.py @@ -35,7 +35,8 @@ def _master_hash() -> str: h = hashlib.sha256() for path in sorted((ROOT / "resources" / "master_data").glob("*.json")): if not path.name.startswith("_"): - h.update(path.name.encode() + path.read_bytes()) + raw = path.read_bytes().replace(b"\r\n", b"\n") # 줄바꿈(CRLF/LF) 무관 + h.update(path.name.encode() + raw) return h.hexdigest()[:16]