Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev committed Jan 4, 2024
1 parent 62eb3c4 commit a8cc376
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/PUGX/Poser/Calculator/GDTextSizeCalculatorSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ class GDTextSizeCalculatorSpec extends ObjectBehavior
{
public function it_should_compute_text_width(): void
{
$this->calculateWidth('MIT', 8)->shouldBeLike(24);
$this->calculateWidth('MIT', 10)->shouldBeLike(29);
$this->calculateWidth('MIT', 14)->shouldBeLike(34);
$this->calculateWidth('MIT', 8)->shouldBeLike(24.0);
$this->calculateWidth('MIT', 10)->shouldBeLike(29.0);
$this->calculateWidth('MIT', 14)->shouldBeLike(34.0);
}
}

0 comments on commit a8cc376

Please sign in to comment.