summaryrefslogtreecommitdiffstats
path: root/tests/PlanetErrorTest.php
blob: c2570abcdb6d632710943f5bf6530274768a245a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

use PHPUnit\Framework\TestCase;

class PlanetErrorTest extends TestCase
{
    public function test_to_string()
    {
        $error = new PlanetError(1, 'foo');
        $this->assertEquals('notice: foo', $error->toString());
    }
}