[wp-trac] [WordPress Trac] #40411: Improve the failure message reported by assertQueryTrue()
WordPress Trac
noreply at wordpress.org
Tue Apr 11 10:45:51 UTC 2017
#40411: Improve the failure message reported by assertQueryTrue()
------------------------------+------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+------------------
Changes (by johnbillion):
* keywords: needs-patch => has-patch
Comment:
With [attachment:40411.patch]:
'''Before:'''
{{{
is_home, is_page is expected to be true. is_single is expected to be
false.
Failed asserting that false is true.
}}}
'''After:'''
{{{
is_home is false but is expected to be true.
is_page is false but is expected to be true.
is_single is true but is expected to be false.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40411#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list