Opened 11 months ago
Last modified 2 months ago
#60319 new enhancement
PHPUnit test for wp_spaces_regexp
Reported by: | pbearne | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Formatting | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
Change History (3)
This ticket was mentioned in PR #5924 on WordPress/wordpress-develop by @pbearne.
11 months ago
#1
- Keywords has-patch has-unit-tests added
#2
@
10 months ago
- Summary changed from PHPtest for wp_spaces_regexp to PHPUnit test for wp_spaces_regexp
#3
@
2 months ago
- Component changed from Build/Test Tools to Formatting
- Milestone changed from Awaiting Review to Future Release
- Type changed from defect (bug) to enhancement
Since this is about adding tests and not a general build or test tooling change, I'm reassigning it to the relevant component.
Note: See
TracTickets for help on using
tickets.
A new PHPUnit test file is added to check the functionality of the wp_spaces_regexp function in a WordPress application. These tests verify the return value of the function with given input and confirm the filter instantiation calls.