WordPress build repository browser

Changeset 64394


Ignore:
Timestamp:
11/03/2026 05:41:03 PM (6 days ago)
Author:
lancewillett
Message:

Tests: Compare HTML semantically in the serialize_token() attribute test.

Use assertEqualHTML() instead of assertSame() when checking that WP_HTML_Processor::serialize_token() reflects enqueued attribute updates, so the test no longer depends on the order of serialized attributes.

Developed in: ​https://github.com/WordPress/wordpress-develop/pull/15373

Props motylanogha, dmsnell.
See #64567.

Built from ​https://develop.svn.wordpress.org/trunk@65245

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.