Skip to content

Commit d4dc9e2

Browse files
AC-951: Create unit test for Magento2\Less\SelectorDelimiterSniff check (#39)
https://jira.corp.magento.com/browse/AC-951
1 parent faddd30 commit d4dc9e2

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// /**
2+
// * Copyright © Magento, Inc. All rights reserved.
3+
// * See COPYING.txt for license details.
4+
// */
5+
6+
.nav,
7+
.bar {
8+
background: green;
9+
}
10+
11+
.nav, .bar {
12+
background: red;
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
/**
3+
* Copyright © Magento. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
namespace Magento2\Tests\Less;
7+
8+
class SelectorDelimiterUnitTest extends AbstractLessSniffUnitTestCase
9+
{
10+
/**
11+
* @inheritdoc
12+
*/
13+
public function getErrorList()
14+
{
15+
return [
16+
11 => 1
17+
];
18+
}
19+
20+
/**
21+
* @inheritdoc
22+
*/
23+
public function getWarningList()
24+
{
25+
return [];
26+
}
27+
}

0 commit comments

Comments
 (0)