Skip to content

Improve feature separation#130

Open
JKingweb wants to merge 9 commits into
microformats:masterfrom
mensbeam:fix2
Open

Improve feature separation#130
JKingweb wants to merge 9 commits into
microformats:masterfrom
mensbeam:fix2

Conversation

@JKingweb
Copy link
Copy Markdown
Contributor

@JKingweb JKingweb commented May 2, 2026

One of the original goals of the "unit" tests was to, as the name implies, test features in isolation as much as possible. Looking through the test results of various parsers I've identified several places where the tests fall a bit short of what's possible.

These changes don't modify the substance of the tests, but they do help the Rust parser to pass two more tests, and the Go parser to pass one additional test. Individual commit messages provide a few details on the changes.

JKingweb added 9 commits May 1, 2026 16:56
… matching

The Rust parser unfairly fails the test without this change
I have no idea why I included these cases in the first place
This helps Go and Rust to pass

Unfortunately it's virtually impossible to avoid implied names entirely in these cases
Not all blank implied names can be avoided, unfortunately
The segregated cases were also modified to smooth out implied-name interactions
At least js-shiv fails this test due to differences in nested microformat handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant