-
-
Notifications
You must be signed in to change notification settings - Fork 663
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix attribute-hyphenation ignore lists (#513)
* tests: attribute-hyphenation: Fix the ignore-list test The test introduced in f9e1eee didn't actually test what it meant to test for. It attempts to verify that the ignore list is obeyed; but its subject is an element that is ignored in its entirety! The code under test was never triggered! Fix this by changing <div> for <custom> in the test case, and also add the same test-case without the `ignore` config, in order to verify that it actually has something to ignore. * attribute-hyphenation: Work correctly when ignore has != 1 item Currently, the "ignore" options array only works correctly with exactly 1 item. Adjust it to work with 0 and with >1 items. * attribute-hyphenation: Fix spelling mistakes - hypen -> hyphen - cann't -> can't * Update test suite for attribute-hyphenation
- Loading branch information
1 parent
bd5c31e
commit 8027916
Showing
2 changed files
with
91 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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