File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
lib/internal/Magento/Framework/Less/Test/Unit/PreProcessor/Instruction Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -91,13 +91,21 @@ public function processDataProvider()
91
91
'Magento_Module/something.css ' ,
92
92
"@import (type) 'Magento_Module/something.css'; " ,
93
93
],
94
- 'with commented lines ' => [
94
+ 'with single line comment ' => [
95
95
'@import (type) "some/file.css" media; ' . PHP_EOL
96
96
. '// @import (type) "unnecessary/file.css" media; ' ,
97
97
'some/file.css ' ,
98
98
'some/file.css ' ,
99
99
"@import (type) 'some/file.css' media; " . PHP_EOL ,
100
100
],
101
+ 'with multi line comment ' => [
102
+ '@import (type) "some/file.css" media; ' . PHP_EOL
103
+ . '/* @import (type) "unnecessary/file.css" media; ' . PHP_EOL
104
+ . '@import (type) "another/unnecessary/file.css" media; */ ' ,
105
+ 'some/file.css ' ,
106
+ 'some/file.css ' ,
107
+ "@import (type) 'some/file.css' media; " . PHP_EOL ,
108
+ ],
101
109
];
102
110
}
103
111
You can’t perform that action at this time.
0 commit comments