Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rafageist committed Aug 14, 2024
1 parent 6dd8849 commit 0e4af7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/BasicTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class BasicTest extends TestCase
{
public function testScalarConstant(): void
public function testScalarImmutable(): void
{
laze::define('FOO', fn() => 42);

Expand Down Expand Up @@ -88,7 +88,7 @@ public function testConstraintFailure(): void
laze::define('QUUX', fn() => 42);

$this->expectException(\Exception::class);
$this->expectExceptionMessage("Constraint 'Must be a string' failed for lazy constant: QUUX");
$this->expectExceptionMessage("Constraint 'Must be a string' failed for lazy immutable value: QUUX");

laze::read('QUUX');
}
Expand Down

0 comments on commit 0e4af7f

Please sign in to comment.