Derive pay-down + CSS families by name (milestone 299 steps 5–6, note #2917) #126

Merged
bvandeusen merged 6 commits from dev into main 2026-08-23 00:32:07 -04:00
Showing only changes of commit 48f0630dab - Show all commits
+1 -1
View File
@@ -493,7 +493,7 @@ def test_extract_definitions_fingerprints_each_block():
import hashlib
assert e["a"].body_sha != e["b"].body_sha != e["c"].body_sha
assert e["a"].body_sha != hashlib.sha1(b"").hexdigest()[:16]
two = ".a { color: red; margin: 0; }\n.b {\n color: red;\n margin: 0;\n}\n"
two = ".a {\n color: red;\n margin: 0;\n}\n.b {\n color: red;\n margin: 0;\n}\n"
f = {x.name: x for x in extract_definitions(two)}
assert f["a"].body_sha == f["b"].body_sha