File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 16
16
/**
17
17
* Tests for the \PHP_CodeSniffer\Ruleset class using a Windows-style absolute path to include a sniff.
18
18
*
19
- * @covers \PHP_CodeSniffer\Ruleset
19
+ * @covers \PHP_CodeSniffer\Ruleset
20
+ * @requires OS ^WIN.*.
21
+ * @group Windows
20
22
*/
21
23
final class RuleInclusionAbsoluteWindowsTest extends TestCase
22
24
{
@@ -52,10 +54,6 @@ final class RuleInclusionAbsoluteWindowsTest extends TestCase
52
54
*/
53
55
public function initializeConfigAndRuleset ()
54
56
{
55
- if (DIRECTORY_SEPARATOR === '/ ' ) {
56
- $ this ->markTestSkipped ('Windows specific test ' );
57
- }
58
-
59
57
$ this ->standard = __DIR__ .'/ ' .basename (__FILE__ , '.php ' ).'.xml ' ;
60
58
$ repoRootDir = dirname (dirname (dirname (__DIR__ )));
61
59
@@ -85,9 +83,7 @@ public function initializeConfigAndRuleset()
85
83
*/
86
84
public function resetRuleset ()
87
85
{
88
- if (DIRECTORY_SEPARATOR !== '/ ' ) {
89
- file_put_contents ($ this ->standard , $ this ->contents );
90
- }
86
+ file_put_contents ($ this ->standard , $ this ->contents );
91
87
92
88
}//end resetRuleset()
93
89
You can’t perform that action at this time.
0 commit comments