#60270 closed task (blessed) (fixed)
PHPunit tests for sanitize_hex_color
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
Change History (4)
This ticket was mentioned in PR #5880 on WordPress/wordpress-develop by @pbearne.
13 months ago
#1
- Keywords has-patch has-unit-tests added
#2
@
12 months ago
- Owner set to swissspidy
- Resolution set to fixed
- Status changed from new to closed
In 57726:
@swissspidy commented on PR #5880:
12 months ago
#3
Note: See
TracTickets for help on using
tickets.
This commit introduces a set of PHPUnit tests for the sanitize_hex_color function. These tests cover a large variety of possible color inputs, ensuring the function behaves as expected under a multitude of scenarios. It is designed to improve error detection and overall function reliability.