Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Conversation

@asottile
Copy link
Member

Resolves #160

@coveralls
Copy link

coveralls commented Aug 24, 2016

Coverage Status

Coverage decreased (-0.01%) to 94.454% when pulling 540190f on asottile:preserve_line_endings into 9de489d on dahlia:master.

assert self.err.getvalue() == ''
assert self.out.getvalue() == ''
with open(tmp) as f:
with io.open(tmp, encoding='UTF-8', newline='') as f:
Copy link
Member Author

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

@asottile
Copy link
Member Author

@dahlia thoughts on this? It changes behaviour but makes our wrapper both more transparent and more like the other implementations.

self.assertEqual(
b(A_EXPECTED_CSS_WITH_MAP),
r.data
r.data,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a comma of imperfection :)

Copy link
Member Author

@asottile asottile Aug 24, 2016

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

@dahlia
Copy link
Member

dahlia commented Aug 24, 2016

Looks good to me!

@asottile asottile merged commit 5bee6cd into sass:master Aug 24, 2016
@asottile asottile deleted the preserve_line_endings branch August 24, 2016 18:28
@asottile
Copy link
Member Author

<3

@rbu rbu mentioned this pull request Oct 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants