Changeset 30392 for trunk/tests/phpunit/tests/formatting/IsEmail.php
- Timestamp:
- 11/19/2014 07:31:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/IsEmail.php
r25002 r30392 5 5 */ 6 6 class Tests_Formatting_IsEmail extends WP_UnitTestCase { 7 function test_returns_t rue_if_given_a_valid_email_address() {7 function test_returns_the_email_address_if_it_is_valid() { 8 8 $data = array( 9 9 "bob@example.com", … … 13 13 ); 14 14 foreach ( $data as $datum ) { 15 $this->assertEquals( $datum, is_email( $datum), $datum );15 $this->assertEquals( $datum, is_email( $datum ), $datum ); 16 16 } 17 17 }
Note: See TracChangeset
for help on using the changeset viewer.