Skip to content

Commit 96729ec

Browse files
authored
Merge pull request #41 from magento-commerce/imported-magento-magento-coding-standard-244
[Imported] AC-948: Create unit test for Magento2\Less\PropertiesLineBreakSniff
2 parents c1aa6c5 + ba91826 commit 96729ec

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// /**
2+
// * Copyright © Magento, Inc. All rights reserved.
3+
// * See COPYING.txt for license details.
4+
// */
5+
6+
.my{
7+
some: 'stuff'; anything: 'else';
8+
}
9+
10+
.foo {
11+
anything: 'else';
12+
}
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 PropertiesLineBreakUnitTest extends AbstractLessSniffUnitTestCase
9+
{
10+
/**
11+
* @inheritdoc
12+
*/
13+
public function getErrorList()
14+
{
15+
return [
16+
7 => 1,
17+
];
18+
}
19+
20+
/**
21+
* @inheritdoc
22+
*/
23+
public function getWarningList()
24+
{
25+
return [];
26+
}
27+
}

0 commit comments

Comments
 (0)