Skip to content

Commit c3f5c37

Browse files
committed
Check test
1 parent ed969ac commit c3f5c37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unitary-blunder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@
77

88
use MaplePHP\Blunder\Handlers\SilentHandler;
99
use MaplePHP\Blunder\Run;
10-
use MaplePHP\Unitary\Handlers\FileHandler;
11-
use MaplePHP\Unitary\Handlers\HtmlHandler;
1210
use MaplePHP\Unitary\Unit;
1311

1412
// If you add true to Unit it will run in quite mode
1513
// and only report if it finds any errors!
1614

1715
$unit = new Unit();
16+
1817
$unit->case("MaplePHP pretty error handler test", function ($inst) {
1918

2019
// SilentHandler will hide the error that I have added in this file
2120
// and is using to test the Blunder library
2221
$run = new Run(new SilentHandler());
2322
$run->event(function ($item, $http) use ($inst) {
2423

24+
2525
$inst->add($item->getStatus(), function () {
2626
return $this->equal("warning");
2727

@@ -31,7 +31,7 @@
3131
"equal" => ["E_WARNING"],
3232
], "getSeverity is not a equal to E_WARNING");
3333

34-
$inst->add("Test-". $item->getLine(), [
34+
$inst->add($item->getLine(), [
3535
"isInt" => [],
3636
"length" => [1],
3737
], "getLine is not a int");

0 commit comments

Comments
 (0)