AZ_Listing_Tests::test_empty_letters()


Description


Source

File: tests/test-listing.php

	function test_empty_letters() {
		$expected = file_get_contents( 'tests/default-letters.txt' );
		$actual = get_the_a_z_letters();

		$expected = preg_replace( '/\s{2,}|\t|\n/', '', $expected );
		$actual = preg_replace( '/\s{2,}|\t|\n/', '', $actual );
		$this->assertEquals( $expected, $actual );
	}

User Contributed Notes

You must log in before being able to contribute a note or feedback.

This site uses Akismet to reduce spam. Learn how your comment data is processed.