| Index: pkg/dev_compiler/test/codegen/lib/html/util.dart
|
| diff --git a/pkg/dev_compiler/test/codegen/lib/html/util.dart b/pkg/dev_compiler/test/codegen/lib/html/util.dart
|
| index 52735f21d402e85ce53b5080b7bf8541925e55c8..ff35b96a65f04152726b32ca756e06f1b43544e7 100644
|
| --- a/pkg/dev_compiler/test/codegen/lib/html/util.dart
|
| +++ b/pkg/dev_compiler/test/codegen/lib/html/util.dart
|
| @@ -5,15 +5,13 @@
|
| library test.html.util;
|
|
|
| import 'dart:html';
|
| -import 'package:unittest/unittest.dart';
|
| +import 'package:minitest/minitest.dart';
|
|
|
| -void expectUnsupported(f) => expect(f, throwsUnsupportedError);
|
| -
|
| -void expectEmptyRect(ClientRect rect) {
|
| - expect(rect.bottom, isZero);
|
| - expect(rect.top, isZero);
|
| - expect(rect.left, isZero);
|
| - expect(rect.right, isZero);
|
| - expect(rect.height, isZero);
|
| - expect(rect.width, isZero);
|
| +void expectEmptyRect(Rectangle rect) {
|
| + expect(rect.bottom, 0);
|
| + expect(rect.top, 0);
|
| + expect(rect.left, 0);
|
| + expect(rect.right, 0);
|
| + expect(rect.height, 0);
|
| + expect(rect.width, 0);
|
| }
|
|
|