Skip to content

Commit

Permalink
fix(tests) typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Nov 23, 2023
1 parent f6b63b4 commit 26f2625
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/lucatume/WPBrowser/functionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function __test_useMemoFunctionWithDependencies(): int
return $calls++;
}

class _UseMemoInvokableObject
class _UseMemoInvocableObject
{
public function __invoke(): int
{
Expand Down Expand Up @@ -102,10 +102,10 @@ public function test_useMemo_with_closure(): void
}
}

public function test_useMemo_with_invokable_object(): void
public function test_useMemo_with_invocable_object(): void
{
foreach (range(1, 3) as $k) {
$object = new _UseMemoInvokableObject();
$object = new _UseMemoInvocableObject();
$this->assertEquals(1, useMemo($object));
}
foreach (range(2, 4) as $k) {
Expand Down

0 comments on commit 26f2625

Please sign in to comment.