Skip to content

Commit fc65d67

Browse files
Tests: Use assertSame() in WP_AI_Client_Prompt_Builder tests.
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-d223f7449a82
1 parent 67094ee commit fc65d67

File tree

1 file changed

+78
-78
lines changed

1 file changed

+78
-78
lines changed

0 commit comments

Comments
 (0)