mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Fix lingering }
Remove remaining } in toMatchObject.
This commit is contained in:
@ -815,11 +815,10 @@ final class Expectation
|
|||||||
$propertyValue = $this->value->{$property};
|
$propertyValue = $this->value->{$property};
|
||||||
|
|
||||||
$second_message = $message !== '' ? $message : sprintf(
|
$second_message = $message !== '' ? $message : sprintf(
|
||||||
'Failed asserting that an object has a property %s with the value %s.',
|
'Failed asserting that an object has a property %s with the value %s.',
|
||||||
$this->export($property),
|
$this->export($property),
|
||||||
$this->export($propertyValue),
|
$this->export($propertyValue),
|
||||||
);
|
);
|
||||||
}
|
|
||||||
|
|
||||||
Assert::assertEquals($value, $propertyValue, $second_message);
|
Assert::assertEquals($value, $propertyValue, $second_message);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user