diff --git a/Magento2/Tests/Less/CombinatorIndentationUnitTest.less b/Magento2/Tests/Less/CombinatorIndentationUnitTest.less new file mode 100644 index 00000000..fb66cd1d --- /dev/null +++ b/Magento2/Tests/Less/CombinatorIndentationUnitTest.less @@ -0,0 +1,20 @@ +// /** +// * Copyright © Magento, Inc. All rights reserved. +// * See COPYING.txt for license details. +// */ + +.nav+.bar { + color: @bar__color; +} + +.nav +.foo { + color: @bar__color; +} + +.nav+ .baz { + color: @bar__color; +} + +.nav + .qux { + color: @bar__color; +} diff --git a/Magento2/Tests/Less/CombinatorIndentationUnitTest.php b/Magento2/Tests/Less/CombinatorIndentationUnitTest.php new file mode 100644 index 00000000..d3e5c882 --- /dev/null +++ b/Magento2/Tests/Less/CombinatorIndentationUnitTest.php @@ -0,0 +1,29 @@ + 1, + 10 => 1, + 14 => 1, + ]; + } + + /** + * @inheritdoc + */ + public function getWarningList() + { + return []; + } +}