Commit fc65d67
committed
Tests: Use
This ensures that not only the return values match the expected results, but also that their type is the same.
Going forward, stricter type checking by using `assertSame()` should generally be preferred to `assertEquals()` where appropriate, to make the tests more reliable.
Follow-up to [61700].
Props sagardeshmukh.
See #64324.
git-svn-id: https://develop.svn.wordpress.org/trunk@62248 602fd350-edb4-49c9-b593-d223f7449a82assertSame() in WP_AI_Client_Prompt_Builder tests.1 parent 67094ee commit fc65d67
1 file changed
+78
-78
lines changed
0 commit comments