8000 Fix mixed lint config test · symfony/symfony@c223f3e · GitHub
[go: up one dir, main page]

Skip to content

Commit c223f3e

Browse files
Fix mixed lint config test
1 parent 5bf4813 commit c223f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Yaml/Tests/Command/LintCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public function testMixedLintConfig()
196196
excludes: []
197197
YAML;
198198

199-
$ret = $tester->execute(['filename' => $this->createFile('invalid'), '--format' => 'json', '--exclude' => $filename, '--config' => $this->createFile($yaml)], ['decorated' => false]);
199+
$ret = $tester->execute(['filename' => $this->createFile('invalid'), '--format' => 'invalid', '--exclude' => [$filename], '--config' => $this->createFile($yaml)], ['decorated' => false]);
200200
$this->assertSame(0, $ret, 'lint:yaml exits with code 0 in case of success');
201201
$this->assertStringContainsString('All 1 YAML files contain valid syntax.', trim($tester->getDisplay()));
202202
}

0 commit comments

Comments
 (0)
0