Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#26163 closed enhancement (fixed)

Proposed Unit Test for normalize_whitespace function

Reported by: mdbitz's profile mdbitz Owned by: wonderboymusic's profile 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 11 years ago.
normalize_whitespace Unit Tests

Download all attachments as: .zip

Change History (4)

11 years ago

normalize_whitespace Unit Tests

#1 @mdbitz
11 years ago

  • Cc matt@… added

#2 @wonderboymusic
11 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
11 years ago

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