You are here

public function DifferTest::testTypesOtherThanArrayAndStringCanBePassed in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/diff/tests/DifferTest.php \SebastianBergmann\Diff\DifferTest::testTypesOtherThanArrayAndStringCanBePassed()

File

vendor/sebastian/diff/tests/DifferTest.php, line 98

Class

DifferTest

Namespace

SebastianBergmann\Diff

Code

public function testTypesOtherThanArrayAndStringCanBePassed() {
  $this
    ->assertEquals("--- Original\n+++ New\n@@ @@\n-1\n+2\n", $this->differ
    ->diff(1, 2));
}