rubys / nokogumbo

A Nokogiri interface to the Gumbo HTML5 parser.
Apache License 2.0
186 stars 114 forks source link

Simplify tokenizer tests #106

Closed stevecheckoway closed 6 years ago

stevecheckoway commented 6 years ago

The first commit moves the character reference tests into the tokenizer to simplify testing up coming changes.

The second greatly simplifies the tests by factoring out the tedious, repetitive tests.