Skip to content

Failed test with recent changes in symfony #10499

@remicollet

Description

@remicollet

When using symfony 4, since update from 4.4.36 to 4.4.37

There was 1 failure:
1) Composer\Test\Installer\SuggestedPackagesReporterTest::testOutputIgnoresFormatting
Expectation failed for method name is "write" when invoked at sequence index 2
Parameter 0 for invocation Composer\IO\IOInterface::write(' - <info>target2</info>: \<bg...k\</\>', true, 2) does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-' - <info>target2</info>: \<bg=green>Like us on Facebook\</>'
+' - <info>target2</info>: \<bg=green\>Like us on Facebook\</\>'

Also reported as symfony/symfony#45252

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions