@@ 180-184 (lines=5) @@ | ||
177 | // so we relax our tests... |
|
178 | $l1 = strlen($sendString); |
|
179 | $l2 = strlen($v->scalarval()); |
|
180 | if ($l1 == $l2) { |
|
181 | $this->assertEquals($sendString, $v->scalarval()); |
|
182 | } else { |
|
183 | $this->assertEquals(str_replace(array("\r\n", "\r"), array("\n", "\n"), $sendString), $v->scalarval()); |
|
184 | } |
|
185 | } |
|
186 | } |
|
187 | ||
@@ 391-395 (lines=5) @@ | ||
388 | )); |
|
389 | $v = $this->send($m); |
|
390 | if ($v) { |
|
391 | if (strlen($sendString) == strlen($v->scalarval())) { |
|
392 | $this->assertEquals($sendString, $v->scalarval()); |
|
393 | } else { |
|
394 | $this->assertEquals(str_replace(array("\r\n", "\r"), array("\n", "\n"), $sendString), $v->scalarval()); |
|
395 | } |
|
396 | } |
|
397 | } |
|
398 |