[wp-trac] [WordPress Trac] #54725: Test tool and unit test improvements for 6.0

WordPress Trac noreply at wordpress.org
Sat Feb 19 12:37:20 UTC 2022


#54725: Test tool and unit test improvements for 6.0
--------------------------------------+---------------------
 Reporter:  hellofromTonya            |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.0
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"52774" 52774]:
 {{{
 #!CommitTicketReference repository="" revision="52774"
 Tests: Correct the order of expected and actual values in
 `wp_array_slice_assoc()` tests.

 This corrects the order of the parameters when used in assertions so
 if/when they fail the failure message is correct.

 Follow-up to [45371].

 See #54725.
 }}}

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


More information about the wp-trac mailing list