mirror of
https://github.com/beautifier/js-beautify.git
synced 2024-11-23 04:40:06 +00:00
Add tests for @extend newline error.
This commit is contained in:
parent
bff3edea3d
commit
4c650f971e
@ -10747,6 +10747,10 @@ function run_css_tests(test_obj, Urlencoded, js_beautify, html_beautify, css_bea
|
||||
'.item-warning-wrong {\n' +
|
||||
' @extend btn-warning: hover;\n' +
|
||||
'}');
|
||||
t(
|
||||
'.item-warning {\n' +
|
||||
' @extend .color1, .hover2;\n' +
|
||||
'}');
|
||||
|
||||
|
||||
//============================================================
|
||||
|
@ -10626,6 +10626,10 @@ class CSSBeautifierTest(unittest.TestCase):
|
||||
'.item-warning-wrong {\n' +
|
||||
' @extend btn-warning: hover;\n' +
|
||||
'}')
|
||||
t(
|
||||
'.item-warning {\n' +
|
||||
' @extend .color1, .hover2;\n' +
|
||||
'}')
|
||||
|
||||
|
||||
#============================================================
|
||||
|
@ -1559,6 +1559,12 @@ exports.test_data = {
|
||||
' @extend btn-warning: hover;',
|
||||
'}'
|
||||
]
|
||||
}, {
|
||||
unchanged: [
|
||||
'.item-warning {',
|
||||
' @extend .color1, .hover2;',
|
||||
'}'
|
||||
]
|
||||
}]
|
||||
}, {
|
||||
name: "Import Tests",
|
||||
|
Loading…
Reference in New Issue
Block a user