Skip to content

Commit 4fc26ca

Browse files
committed
Test correction per feedback
1 parent d3ee1a0 commit 4fc26ca

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/Integration/ByteFormatterTest.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,8 @@ public function provideDecimalIntegers()
7777
/** @dataProvider providePrecisionIntegers */
7878
public function testPrecision($integer, $formatted)
7979
{
80-
$withArgument = $this->formatter->setPrecision(5)->format($integer, 2);
81-
$withMethod = $this->formatter->setPrecision(2)->format($integer);
82-
83-
$this->assertSame($formatted, $withMethod);
84-
$this->assertSame($withMethod, $withArgument);
80+
$this->assertSame($formatted, $this->formatter->setPrecision(2)->format($integer));
81+
$this->assertSame($formatted, $this->formatter->setPrecision(5)->format($integer, 2));
8582
}
8683

8784
public function providePrecisionIntegers()

0 commit comments

Comments
 (0)