Closed korya closed 7 years ago
The tests have failure is not related to the changes introduced in this PR. The failed test case is TestNotSupportedSelectors
, the reason it fails is the change in goquery API. The test case is fixed in a separate PR: https://github.com/vanng822/go-premailer/pull/5.
Thanks @korya
The bug appears only on lists with more than 6 elements due to sort.Sort implementation. For more details refer to
quickSort()
imlementation in https://golang.org/src/sort/sort.go#L185