Skip to content

Commit fb6cdb7

Browse files
committed
Bugfix exception message method
1 parent 4ecdb2e commit fb6cdb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/system/CLI/CLITest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function testColorExceptionForeground()
8787
public function testColorExceptionBackground()
8888
{
8989
$this->expectException('RuntimeException');
90-
$this->expectException('Invalid background color: Background');
90+
$this->expectExceptionMessage('Invalid background color: Background');
9191

9292
CLI::color('test', 'white', 'Background');
9393
}

0 commit comments

Comments
 (0)