From a1223eab6f959c484a0708dc73e0e0e83c1408a2 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sat, 17 Oct 2026 18:00:21 +0900 Subject: [PATCH] =?UTF-8?q?fix(=EC=8B=9C=ED=97=98):=20test=5Fb05=5Fmin=5Fc?= =?UTF-8?q?over=5Fguard=20=EA=B8=B0=EB=8C=80=20=EA=B8=80=20=E2=80=94=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9=20=EB=A7=89=ED=9E=88=EB=A9=B4=20return=20fal?= =?UTF-8?q?se=20=EB=A1=9C=20=EB=B0=94=EB=80=90=20=EB=B6=80=EB=A5=B4?= =?UTF-8?q?=EB=8A=94=20=EA=B3=B3=20(394-2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01QfHKQs7J3hQELKMWQMUJEy --- resources/tester/test_b05_min_cover_guard.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/resources/tester/test_b05_min_cover_guard.py b/resources/tester/test_b05_min_cover_guard.py index ee6889c60..926d876a8 100644 --- a/resources/tester/test_b05_min_cover_guard.py +++ b/resources/tester/test_b05_min_cover_guard.py @@ -18,9 +18,7 @@ RENDER = (PROJECT_ROOT / "B05_Profile" / "B05_Profile_UI_Profile_Render.ts").rea encoding="utf-8" ) # 종단 패널 본체는 종단도 한 벌로 옮겼다(계획서 24-2c) — 편집 한 길도 그 안에 있다. -PANEL = (PROJECT_ROOT / "A00_Common" / "design" / "design_profile.ts").read_text( - encoding="utf-8" -) +PANEL = (PROJECT_ROOT / "A00_Common" / "design" / "design_profile.ts").read_text(encoding="utf-8") GUARD = (PROJECT_ROOT / "B05_Profile" / "B05_Profile_UI_Profile_MinCover.ts").read_text( encoding="utf-8" ) @@ -79,7 +77,7 @@ def test_source_guard_sits_on_the_single_apply_path(): `_Profile_Panel.applyEdits` 한 곳에서만 부른다 — 화면 쪽에는 사본을 두지 않는다. """ assert ( - "if (blocksMinCover(base, alignment, candidate, enforceMinCover, minCoverTargets)) return;" + "if (blocksMinCover(base, alignment, candidate, enforceMinCover, minCoverTargets)) return false;" in PANEL ) assert PANEL.count("blocksMinCover(") == 1 # 부르는 자리는 한 곳뿐. @@ -99,9 +97,9 @@ def test_source_old_diameter_formula_removed(): assert "minCoverTargets: () => minCoverTargets" in PANEL -ALIGNMENT = (PROJECT_ROOT / "B05_Profile" / "logic" / "B05_Profile_UI_Profile_Alignment.ts").read_text( - encoding="utf-8" -) +ALIGNMENT = ( + PROJECT_ROOT / "B05_Profile" / "logic" / "B05_Profile_UI_Profile_Alignment.ts" +).read_text(encoding="utf-8") def test_shift_moves_hinges_not_fixed_ends():