| Index: tests/corelib/duration_test.dart
|
| diff --git a/tests/corelib/duration_test.dart b/tests/corelib/duration_test.dart
|
| index 306873db87ef2adb7654a70cdc2062c7475f4f5d..5d8e0f1db38422115e6053de27bccfd7e0d184b7 100644
|
| --- a/tests/corelib/duration_test.dart
|
| +++ b/tests/corelib/duration_test.dart
|
| @@ -267,4 +267,11 @@ main() {
|
|
|
| d = const Duration(microseconds: 1000000);
|
| Expect.equals("0:00:01.000000", d.toString());
|
| +
|
| + d1 = const Duration(hours: 1);
|
| + d2 = const Duration(hours: -1);
|
| + Expect.isFalse(d1.isNegative());
|
| + Expect.isTrue(d2.isNegative());
|
| + Expect.equals(d1, d1.abs());
|
| + Expect.equals(d1, d2.abs());
|
| }
|
|
|