1<?php 2class Issue581Test extends PHPUnit_Framework_TestCase 3{ 4 public function testExportingObjectsDoesNotBreakWindowsLineFeeds() 5 { 6 $this->assertEquals( 7 (object) [1, 2, "Test\r\n", 4, 5, 6, 7, 8], 8 (object) [1, 2, "Test\r\n", 4, 1, 6, 7, 8] 9 ); 10 } 11} 12