mirror of
https://github.com/beautifier/js-beautify.git
synced 2025-02-24 23:32:57 +00:00
Verify issue #883
This commit is contained in:
parent
8a804dfb9d
commit
5a9fcfe8f7
@ -306,6 +306,10 @@ function run_css_tests(test_obj, Urlencoded, js_beautify, html_beautify, css_bea
|
||||
'.card-blue ::-webkit-input-placeholder {\n' +
|
||||
'\tcolor: #87D1FF;\n' +
|
||||
'}');
|
||||
t(
|
||||
'div [attr] :not(.class) {\n' +
|
||||
'\tcolor: red;\n' +
|
||||
'}');
|
||||
|
||||
|
||||
reset_options();
|
||||
|
@ -269,6 +269,10 @@ class CSSBeautifierTest(unittest.TestCase):
|
||||
'.card-blue ::-webkit-input-placeholder {\n' +
|
||||
'\tcolor: #87D1FF;\n' +
|
||||
'}')
|
||||
t(
|
||||
'div [attr] :not(.class) {\n' +
|
||||
'\tcolor: red;\n' +
|
||||
'}')
|
||||
|
||||
|
||||
self.reset_options();
|
||||
|
@ -253,9 +253,16 @@ exports.test_data = {
|
||||
'\tcolor: #87D1FF;',
|
||||
'}'
|
||||
]
|
||||
},
|
||||
{
|
||||
unchanged: [
|
||||
'div [attr] :not(.class) {',
|
||||
'\tcolor: red;',
|
||||
'}'
|
||||
]
|
||||
}
|
||||
]
|
||||
}, {
|
||||
|
||||
}]
|
||||
};
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user