Skip to content

Commit 6c24f4e

Browse files
Restore compatibility with PHP 5.3
1 parent c59962b commit 6c24f4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ChunkTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected function setUp()
2929

3030
public function testCanBeCreatedWithoutArguments()
3131
{
32-
$this->assertInstanceOf(Chunk::class, $this->chunk);
32+
$this->assertInstanceOf('SebastianBergmann\Diff\Chuck', $this->chunk);
3333
}
3434

3535
public function testStartCanBeRetrieved()

tests/LineTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected function setUp()
2929

3030
public function testCanBeCreatedWithoutArguments()
3131
{
32-
$this->assertInstanceOf(Line::class, $this->line);
32+
$this->assertInstanceOf('SebastianBergmann\Diff\Line', $this->line);
3333
}
3434

3535
public function testTypeCanBeRetrieved()

0 commit comments

Comments
 (0)