test: hold the zero spacing steps to whole declarations - #749
Merged
Merged
Conversation
samoht
added this pull request to stack #728
September 13, 2026 15:33
The affix was [property ^ ":0"] and tw emits padding:0px, so it matched on a prefix: the assertion named "p-0 emits zero" would have passed on 0.5rem, 0vh or any value starting with the digit. The CLI writes 0px here and so does tw, which the list now says. The --spacing check beside it stays a search over the sheet. It asserts the carrier is absent from the theme layer, and declarations_of_class leaves :root bindings out by design, so no list of the class's own declarations can express it.
samoht
force-pushed
the
exact-build-assertions
branch
from
September 13, 2026 19:26
28b48cc to
bf51f31
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The affix was
property ^ ":0"and tw emitspadding:0px, so it matched on a prefix: the assertion named "p-0 emits zero" would have passed on0.5rem,0vhor any value starting with the digit. The CLI writes0pxhere and so does tw.The
--spacingcheck beside it stays a search over the sheet — it asserts the carrier is absent from the theme layer, anddeclarations_of_classleaves:rootbindings out by design, so no list of the class's own declarations can express it.