diff --git a/Magento2/Tests/Less/IndentationUnitTest.less b/Magento2/Tests/Less/IndentationUnitTest.less new file mode 100644 index 00000000..1ddbff6f --- /dev/null +++ b/Magento2/Tests/Less/IndentationUnitTest.less @@ -0,0 +1,21 @@ +// /** +// * Copyright © Magento, Inc. All rights reserved. +// * See COPYING.txt for license details. +// */ + +.nav { + background: green; + .nav-item { + background: green; + } +} + +.bar { + background: red; + .bar-item { + background: red; + .bar-item-child { + background: red; + } + } +} diff --git a/Magento2/Tests/Less/IndentationUnitTest.php b/Magento2/Tests/Less/IndentationUnitTest.php new file mode 100644 index 00000000..a7bf6502 --- /dev/null +++ b/Magento2/Tests/Less/IndentationUnitTest.php @@ -0,0 +1,33 @@ + 1, + 15 => 1, + 16 => 1, + 17 => 1, + 18 => 1, + 19 => 1, + 20 => 1 + ]; + } + + /** + * @inheritdoc + */ + public function getWarningList() + { + return []; + } +}