-
Notifications
You must be signed in to change notification settings - Fork 55
Preserve line endings that libsass hands us #161
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
Conversation
@@ -749,7 +744,7 @@ def test_sassc_output(self): | |||
assert exit_code == 0 | |||
assert self.err.getvalue() == '' | |||
assert self.out.getvalue() == '' | |||
with open(tmp) as f: | |||
with io.open(tmp, encoding='UTF-8', newline='') as f: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this acts as a regression test
@dahlia thoughts on this? It changes behaviour but makes our wrapper both more transparent and more like the other implementations. |
b(A_EXPECTED_CSS_WITH_MAP), | ||
r.data | ||
r.data, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a comma of imperfection :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing commas are a best practice :D
Looks good to me! |
<3 |
Resolves #160