We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3ee1a0 commit 4fc26caCopy full SHA for 4fc26ca
test/Integration/ByteFormatterTest.php
@@ -77,11 +77,8 @@ public function provideDecimalIntegers()
77
/** @dataProvider providePrecisionIntegers */
78
public function testPrecision($integer, $formatted)
79
{
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);
+ $this->assertSame($formatted, $this->formatter->setPrecision(2)->format($integer));
+ $this->assertSame($formatted, $this->formatter->setPrecision(5)->format($integer, 2));
85
}
86
87
public function providePrecisionIntegers()
0 commit comments