WordPress.org

Make WordPress Core

Opened 5 months ago

Closed 5 months ago

Last modified 5 months 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:

Description

Hi:

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 5 months ago.
normalize_whitespace Unit Tests

Download all attachments as: .zip

Change History (4)

mdbitz5 months ago

normalize_whitespace Unit Tests

comment:1 mdbitz5 months ago

  • Cc matt@… added

comment:2 wonderboymusic5 months 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.

comment:3 wonderboymusic5 months ago

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