Changes between Initial Version and Version 1 of Ticket #31432, comment 11
- Timestamp:
- 05/29/2019 01:42:52 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31432, comment 11
initial v1 1 Seems the "time proven" solution was to use `assertContains()` when testing HTML output .1 Seems the "time proven" solution was to use `assertContains()` when testing HTML output, and avoid the line endings. 2 2 3 3 Still seeing line endings errors in phpunit/tests/dependencies/scripts.php that are caused by comparing with `wp_scripts_print_translations_output` that holds some inline JS. It tests translation scripts outputted with printf() in script-loader. Seems we can test it with `assertContains()` too, perhaps only one line, not the whole script.