Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don’t use _all_ HTML entities in tests #19

Merged
merged 1 commit into from
Mar 17, 2023
Merged

Conversation

danielparks
Copy link
Owner

@danielparks danielparks commented Mar 17, 2023

Building matchers for all HTML entities can be a bit much for limited hosts, e.g. micro VMs or limited Docker containers. This removes most of the HTML entities; it only keeps entites that are all lowercase and whose names start with one of [aglqt].

To do

@danielparks
Copy link
Owner Author

It does indeed fix #14.

It would be nice to continue testing all entities since that’s why I built this crate, but I think keeping tests functional is more important.

Building matchers for all HTML entities can be a bit much for limited
hosts, e.g. micro VMs or limited Docker containers. This removes most of
the HTML entities; it only keeps entites that are all lowercase and
whose names start with one of `[aglqt]`.

This also fixes #14 (tests fail to build in Docker), so it removes the
existing work-around.

This resets all benchmarks.
@danielparks danielparks marked this pull request as ready for review March 17, 2023 05:23
@danielparks danielparks merged commit 0711716 into main Mar 17, 2023
@danielparks danielparks deleted the fewer-entities branch March 17, 2023 05:25
@danielparks danielparks mentioned this pull request Mar 17, 2023
1 task
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.

matchgen_tests fails to build in Docker
1 participant