Skip to content

Commit 4406251

Browse files
authored
Merge pull request #47 from magento-commerce/imported-magento-magento-coding-standard-248
[Imported] AC-950: Create unit test for Magento2\Less\QuotesSniff check
2 parents 9355a1e + e619db3 commit 4406251

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
+12
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";
8+
}
9+
10+
.foo {
11+
anything: 'else';
12+
}
+27
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 QuotesSniffUnitTest 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)