Skip to content

Commit

Permalink
Removd test reference to Number::fromFloat() (no longer existing)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Apr 22, 2021
1 parent 9496d09 commit 91c8091
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions spec/NumberSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,4 @@ public function it_throws_an_exception_when_number_is_invalid(): void

$this->shouldThrow(InvalidArgumentException::class)->duringInstantiation();
}

public function it_creates_a_number_from_float(): void
{
$number = $this->fromFloat(1.1);

$number->shouldHaveType(Number::class);
$number->__toString()->shouldReturn('1.1');
}
}

0 comments on commit 91c8091

Please sign in to comment.