[wp-trac] [WordPress Trac] #38266: Tests: Use assertSame() when the type of the value in the assertion is important
WordPress Trac
noreply at wordpress.org
Sat Sep 5 16:48:05 UTC 2020
#38266: Tests: Use assertSame() when the type of the value in the assertion is
important
-----------------------------------+-----------------------------
Reporter: johnbillion | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.6
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-unit-tests php8 | Focuses:
-----------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"48944" 48944]:
{{{
#!CommitTicketReference repository="" revision="48944"
Tests: Replace a few more instances of `assertEquals()` with
`assertSame()`.
These were previously missed due to incorrect capitalization.
Follow-up to [48937], [48939], [48940].
See #38266.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38266#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list