Skip to content

Commit

Permalink
Fix CS/WS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Apr 26, 2019
1 parent 2cb2740 commit 6efdf39
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/unit/Framework/Constraint/ExceptionMessageTest.php
Expand Up @@ -48,18 +48,17 @@ public function testPartialMessageEnd(): void
throw new \Exception('A partial exception message');
}

public function testEmptyMessageExportToString()
public function testEmptyMessageExportToString(): void
{
$exceptionMessage = new ExceptionMessage('');

$this->assertSame('exception message is empty', $exceptionMessage->toString());
}

public function testMessageExportToString()
public function testMessageExportToString(): void
{
$exceptionMessage = new ExceptionMessage('test');

$this->assertSame('exception message contains ', $exceptionMessage->toString());
}

}

0 comments on commit 6efdf39

Please sign in to comment.