-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specs fail on MRI Ruby 2.1.0 #1064
Comments
It seems the order of items returned by uniq has changed in ruby 2.1.0 (see https://bugs.ruby-lang.org/issues/9340) and |
I added ruby 2.1 to the build matrix on master: bf4c1a0 |
it seems like ruby fixed this for the next release, given that the output is semantically identical, it would be nice to simply fix the test assertions to stop caring about this difference. |
I'll give it a try. |
@felixbuenemann Thanks! |
I'm actually content not to make the tests resilient to this, especially if the old behavior is going to be preserved in a future release of 2.1.0. I'd like the Sass output to remain consistent between Ruby versions as much as possible, and I'm happy to have our tests catch cases where it isn't. In this case, for example, under the 2.0.0 behavior the selector's source order is preserved, which is nice. |
OK, I'll close this. |
For some reason the order of the class names is not alphabetical.
The text was updated successfully, but these errors were encountered: