[wp-trac] [WordPress Trac] #41156: Refactor Emoji browser support tests to prevent repetition.

WordPress Trac noreply at wordpress.org
Mon Oct 2 03:59:52 UTC 2017


#41156: Refactor Emoji browser support tests to prevent repetition.
------------------------------+----------------------------
 Reporter:  peterwilsoncc     |       Owner:  peterwilsoncc
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.9
Component:  Emoji             |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+----------------------------
Changes (by peterwilsoncc):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41669"]:
 {{{
 #!CommitTicketReference repository="" revision="41669"
 Emoji: Refactor browser support tests.

 Moves the repeated code in the emoji browser support test to a function to
 reduced the potential for errors and follow DRY principles.

 Renames the "emoji4" test "emoji" as unicode version specific tests were
 removed in [38869].

 Props peterwilsoncc, pento for code review.
 Fixes #41156.
 }}}

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


More information about the wp-trac mailing list