File tree Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change 21
21
22
22
class ValidatorCacheWarmerTest extends TestCase
23
23
{
24
- /**
25
- * @group issue-32995
26
- *
27
- * @runInSeparateProcess https://github.com/symfony/symfony/issues/32995
28
- */
29
24
public function testWarmUp ()
30
25
{
31
26
$ validatorBuilder = new ValidatorBuilder ();
Original file line number Diff line number Diff line change @@ -72,29 +72,12 @@ public function testGetHelp()
72
72
{
73
73
$ command = new YamlLintCommand ();
74
74
$ expected = <<<EOF
75
- The <info>%command.name%</info> command lints a YAML file and outputs to STDOUT
76
- the first encountered syntax error.
77
-
78
- You can validates YAML contents passed from STDIN:
79
-
80
- <info>cat filename | php %command.full_name%</info>
81
-
82
- You can also validate the syntax of a file:
83
-
84
- <info>php %command.full_name% filename</info>
85
-
86
- Or of a whole directory:
87
-
88
- <info>php %command.full_name% dirname</info>
89
- <info>php %command.full_name% dirname --format=json</info>
90
-
91
75
Or find all files in a bundle:
92
76
93
77
<info>php %command.full_name% @AcmeDemoBundle</info>
94
-
95
78
EOF ;
96
79
97
- $ this ->assertEquals ($ expected , $ command ->getHelp ());
80
+ $ this ->assertStringContainsString ($ expected , $ command ->getHelp ());
98
81
}
99
82
100
83
public function testLintFilesFromBundleDirectory ()
You can’t perform that action at this time.
0 commit comments