Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#26163 closed enhancement (fixed)

Proposed Unit Test for normalize_whitespace function

Reported by: mdbitz Owned by: wonderboymusic
Milestone: 3.8 Priority: normal
Severity: minor Version:
Component: Unit Tests Keywords: has-patch
Focuses: Cc:



I'm currently reviewing the code coverage of the existing Unit Tests and would like to submit the following Test Cases for validation of the normalize_whitespace formatting function.

No current unit tests exist for this function.

Attachments (1)

NormalizeWhitespace.php (991 bytes) - added by mdbitz 2 years ago.
normalize_whitespace Unit Tests

Download all attachments as: .zip

Change History (4)

2 years ago

normalize_whitespace Unit Tests

#1 @mdbitz
2 years ago

  • Cc matt@… added

#2 @wonderboymusic
2 years ago

  • Owner set to wonderboymusic
  • Resolution set to fixed
  • Status changed from new to closed

In 26327:

Introduce unit tests for the normalize_whitespace() function.

Props mdbitz.
Fixes #26163.

#3 @wonderboymusic
2 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 3.8
Note: See TracTickets for help on using tickets.