yesodweb / css-text

CSS parser and renderer.
MIT License
16 stars 8 forks source link

Fixed Arbitrary instance for NestedBlock. #7

Closed jgm closed 9 years ago

jgm commented 9 years ago

Previously arbitrary would only generate a LeafBlock for NestedBlock. Hence documents with NestedBlock were not really being tested at all! With this change we can see the bug reported separately in #6.

jgm commented 9 years ago

Note that the Travis build is expected to fail, since this PR adds a failing test.

creichert commented 9 years ago

Nice catch. I'm assuming this needs to be merged to test any potential fixes on #6.