Re:An image diff is worth a thousand words
by wodenokoto on Thursday June 29, 2017 @08:48PM
(#14667945)
Shouldn't the unit test highlight unused css properties, as well as elements linked to non-existent css properties?
I feel like such a mistake ought to be caught by a unit test.
I kinda feel like a graceful way to handle this particular error is to acknowledge that "ellipsis" is a word that is super easy to misspell, and either declare this class to apply to both the proper word and the misspelling that's going to constantly get scattered throughout the codebase, or to pick another name entirely such as ".truncated" or, I dunno, ".elided" maybe?
Naming stuff is hard.