Upstream thephpleague/period state of the touched files before 7417a30890
This commit is contained in:
1 parent
ca720ad7ea
commit
23696d9b4c
1 file changed
+2
-4
@@ -292,10 +292,8 @@ final class DurationTest extends TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A signed chronometer or time string must apply the sign to the whole
|
* A sign applies to the whole duration, not just the hour. It used to be
|
||||||
* duration, not only to the hour component. Previously the sign was lost
|
* lost when the hour was zero, and to negate only the hour otherwise.
|
||||||
* entirely when the hour was zero and, when the hour was present, only the
|
|
||||||
* hour was negated while minutes and seconds stayed positive.
|
|
||||||
*/
|
*/
|
||||||
#[DataProvider('signedDurationProvider')]
|
#[DataProvider('signedDurationProvider')]
|
||||||
public function testSignedStringsApplySignToWholeDuration(string $method, string $input, string $reference, string $expected): void
|
public function testSignedStringsApplySignToWholeDuration(string $method, string $input, string $reference, string $expected): void
|
||||||
|
|||||||
Reference in new issue
Block a user