public function testPatchFromText() { $text = "@@ -21,18 +22,17 @@\n jump\n-s\n+ed\n over \n-the\n+a\n %0Alaz\n"; $patches = $this->dmp->patch_fromText($text); $this->assertEquals($text, (string) $patches[0]); }