Skip to content

Commit

Permalink
small code change
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Feb 24, 2016
1 parent d05358c commit 4dc384c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/admin_scripts/test/stylesheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,23 @@ def test_sub_rules(self):
max-width: 1170px;;;
border : 0;
}
master {
padding : 0;
-webkit-border-radius: 3px;;;
}
}
"""
expected = """@media (max-width: 539px) and (min-width: 375px) {
slave {
border: none;
max-width: 1170px;
}
master {
-webkit-border-radius: 3px 3px 3px 3px;
padding: 0px 0px 0px 0px;
}
}
"""
buffer = legacy.BytesIO(input)
Expand All @@ -105,7 +115,9 @@ def test_sub_rules(self):
windows_newline = False,
property_order = (
"border",
"max-width"
"-webkit-border-radius",
"max-width",
"padding"
)
)
result.seek(0)
Expand Down

0 comments on commit 4dc384c

Please sign in to comment.