Skip to content

Commit

Permalink
Add error message assertion check
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsisk committed Jun 5, 2018
1 parent 60d1dd0 commit e0bb41e
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -56,6 +56,7 @@ public function it_triggers_an_error_when_debug_is_truthy() {
self::assertTrue( webcomic_error( '.' ) );
} catch ( \Exception $exception ) {
self::assertInstanceOf( \Exception::class, $exception );
self::assertSame( '.', $exception->getMessage() );
}
}
}

0 comments on commit e0bb41e

Please sign in to comment.