[wp-trac] [WordPress Trac] #53397: Update the WordPress Packages with the Gutenberg fixes during the 5.8 beta/RC lifecycle

WordPress Trac noreply at wordpress.org
Thu Jun 24 06:52:09 UTC 2021


#53397: Update the WordPress Packages with the Gutenberg fixes during the 5.8
beta/RC lifecycle
----------------------------+---------------------
 Reporter:  youknowriad     |       Owner:  (none)
     Type:  task (blessed)  |      Status:  closed
 Priority:  normal          |   Milestone:  5.8
Component:  Editor          |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"51225" 51225]:
 {{{
 #!CommitTicketReference repository="" revision="51225"
 Tests: Use `assertSame()` in `_wp_to_kebab_case()` tests.

 This ensures that not only the return values match the expected results,
 but also that their type is the same.

 Going forward, stricter type checking by using `assertSame()` should
 generally be preferred to `assertEquals()` where appropriate, to make the
 tests more reliable.

 Follow-up to [51079], [51198].

 See #52482, #52625, #53397.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53397#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list