diff --git a/Magento2/Tests/Less/TypeSelectorConcatenationUnitTest.less b/Magento2/Tests/Less/TypeSelectorConcatenationUnitTest.less new file mode 100644 index 00000000..241af673 --- /dev/null +++ b/Magento2/Tests/Less/TypeSelectorConcatenationUnitTest.less @@ -0,0 +1,25 @@ +// /** +// * Copyright © Magento, Inc. All rights reserved. +// * See COPYING.txt for license details. +// */ + +.product-list-item { + background: green; +} + +.product-image { + background: green; +} + +.product { + random: 'stuff'; + &-list { + background: red; + &-item { + background: red; + } + } + &-image { + background: red; + } +} diff --git a/Magento2/Tests/Less/TypeSelectorConcatenationUnitTest.php b/Magento2/Tests/Less/TypeSelectorConcatenationUnitTest.php new file mode 100644 index 00000000..1fbe3227 --- /dev/null +++ b/Magento2/Tests/Less/TypeSelectorConcatenationUnitTest.php @@ -0,0 +1,28 @@ + 1, + 22 => 1 + ]; + } + + /** + * @inheritdoc + */ + public function getWarningList() + { + return []; + } +}