-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add tests borrowed from Hiccup's test suite and make small tweaks to match Hiccup/Reagent behavior. #4
base: main
Are you sure you want to change the base?
Commits on Aug 1, 2023
-
WIP: Add tests borrowed from Hiccup's test suite.
Alys Brooks committedAug 1, 2023 Configuration menu - View commit details
-
Copy full SHA for e359271 - Browse repository at this point
Copy the full SHA e359271View commit details -
Support symbols and strings as tag names.
For example, `['div]` and `["div"] are now allowed. This ensures compatability with the original Hiccup and also Reagent
Alys Brooks committedAug 1, 2023 Configuration menu - View commit details
-
Copy full SHA for 2df900d - Browse repository at this point
Copy the full SHA 2df900dView commit details -
Document a few discrepancies I've noticed between our libraryy and others.
Alys Brooks committedAug 1, 2023 Configuration menu - View commit details
-
Copy full SHA for c1f0958 - Browse repository at this point
Copy the full SHA c1f0958View commit details -
Update test to check for correct exception.
We throw a different exception than Hiccup does.
Alys Brooks committedAug 1, 2023 Configuration menu - View commit details
-
Copy full SHA for eb458ef - Browse repository at this point
Copy the full SHA eb458efView commit details -
Make the attribute id take priority over the tag.
This matches the behavior of Reagent and the original Hiccup. For example, in `[:div#foo {:id "bar"}]`, the id would be bar and not foo.
Alys Brooks committedAug 1, 2023 Configuration menu - View commit details
-
Copy full SHA for a857622 - Browse repository at this point
Copy the full SHA a857622View commit details -
Tweak tests to account for non-semantic differences.
Our output differs slightly in ways that don't make any semantic difference.
Alys Brooks committedAug 1, 2023 Configuration menu - View commit details
-
Copy full SHA for 70cd93e - Browse repository at this point
Copy the full SHA 70cd93eView commit details -
Improve explanation of implementation differences.
Revise wording and add bullet about `style` attribute.
Alys Brooks committedAug 1, 2023 Configuration menu - View commit details
-
Copy full SHA for fb9d086 - Browse repository at this point
Copy the full SHA fb9d086View commit details -
Remove some issues that were in the original Hiccup tests.
Alys Brooks committedAug 1, 2023 Configuration menu - View commit details
-
Copy full SHA for c2dd8a5 - Browse repository at this point
Copy the full SHA c2dd8a5View commit details