Add tests for @extend newline error.

This commit is contained in:
Tom Anthony 2021-04-18 13:43:11 +02:00
parent bff3edea3d
commit 4c650f971e
3 changed files with 14 additions and 0 deletions

View File

@ -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' +
'}');
//============================================================

View File

@ -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' +
'}')
#============================================================

View File

@ -1559,6 +1559,12 @@ exports.test_data = {
' @extend btn-warning: hover;',
'}'
]
}, {
unchanged: [
'.item-warning {',
' @extend .color1, .hover2;',
'}'
]
}]
}, {
name: "Import Tests",