Make WordPress Core


Ignore:
Timestamp:
11/19/2014 07:31:17 PM (10 years ago)
Author:
boonebgorges
Message:

Better test method name in formatting/IsEmail.php.

Props dlh.
Fixes #30397.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/formatting/IsEmail.php

    r25002 r30392  
    55 */
    66class Tests_Formatting_IsEmail extends WP_UnitTestCase {
    7     function test_returns_true_if_given_a_valid_email_address() {
     7    function test_returns_the_email_address_if_it_is_valid() {
    88        $data = array(
    99            "bob@example.com",
     
    1313            );
    1414        foreach ( $data as $datum ) {
    15             $this->assertEquals( $datum, is_email($datum), $datum );
     15            $this->assertEquals( $datum, is_email( $datum ), $datum );
    1616        }
    1717    }
Note: See TracChangeset for help on using the changeset viewer.