[wp-trac] [WordPress Trac] #56467: Update @wordpress packages and backport changes from Gutenberg plugin into Core
WordPress Trac
noreply at wordpress.org
Wed Oct 5 14:04:20 UTC 2022
#56467: Update @wordpress packages and backport changes from Gutenberg plugin into
Core
--------------------------------------+------------------------------
Reporter: Bernhard Reiter | Owner: Bernhard Reiter
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 6.1
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Comment (by SergeyBiryukov):
In [changeset:"54394" 54394]:
{{{
#!CommitTicketReference repository="" revision="54394"
Tests: Ignore EOL differences in Style Engine API tests.
Unix vs. Windows EOL style mismatches can cause misleading failures in
tests using the heredoc syntax (`<<<`) or multiline strings as the
expected result.
This resolves two failures when running the test suite on Windows along
the lines of:
{{{
1)
Tests_Style_Engine_wpStyleEngineCSSRule::test_should_prettify_css_rule_output
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
#Warning: Strings contain different line endings!
-'.baptiste {
- margin-left: 0;
- font-family: Detective Sans;
+'.baptiste {
+ margin-left: 0;
+ font-family: Detective Sans;
}'
/var/www/tests/phpunit/tests/style-engine/wpStyleEngineCssRule.php:159
}}}
Follow-up to [46612], [48443], [48466], [49691], [51135], [53282],
[53319], [54156].
See #56467, #55652.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56467#comment:286>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list