[wp-trac] [WordPress Trac] #39219: Add `assertNotFalse` method to `WP_UnitTestCase`.

WordPress Trac noreply at wordpress.org
Sat Dec 10 08:55:59 UTC 2016


#39219: Add `assertNotFalse` method to `WP_UnitTestCase`.
------------------------------+----------------------------
 Reporter:  peterwilsoncc     |       Owner:  peterwilsoncc
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  4.8
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+----------------------------

Comment (by swissspidy):

 In addition to `assertNotSame()` there are a few instances of `assertTrue(
 false === … )` instead of `assertFalse()` and `assertTrue( false !== )`
 instead of `assertNotFalse()`. They should be updated as well.

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


More information about the wp-trac mailing list