@@ -9,7 +9,7 @@ import 'dart:math' as math show sqrt;
99import 'dart:math' show pi;
1010import 'dart:ui' ;
1111
12- import 'package:litetest/litetest .dart' ;
12+ import 'package:test/test .dart' ;
1313
1414void main () {
1515 test ('OffsetBase.>=' , () {
@@ -47,8 +47,8 @@ void main() {
4747
4848 test ('OffsetBase.==' , () {
4949 expect (const Offset (0 , 0 ), equals (const Offset (0 , 0 )));
50- expect (const Offset (0 , 0 ), notEquals (const Offset (1 , 0 )));
51- expect (const Offset (0 , 0 ), notEquals (const Offset (0 , 1 )));
50+ expect (const Offset (0 , 0 ), isNot (const Offset (1 , 0 )));
51+ expect (const Offset (0 , 0 ), isNot (const Offset (0 , 1 )));
5252 });
5353
5454 test ('Offset.direction' , () {
@@ -392,28 +392,28 @@ void main() {
392392 const Rect .fromLTRB (10.0 , 20.0 , 30.0 , 40.0 ),
393393 topLeft: const Radius .circular (- 1 ),
394394 );
395- }, throwsA (isInstanceOf <AssertionError >()));
395+ }, throwsA (const isInstanceOf <AssertionError >()));
396396
397397 expect (() {
398398 RRect .fromRectAndCorners (
399399 const Rect .fromLTRB (10.0 , 20.0 , 30.0 , 40.0 ),
400400 topRight: const Radius .circular (- 2 ),
401401 );
402- }, throwsA (isInstanceOf <AssertionError >()));
402+ }, throwsA (const isInstanceOf <AssertionError >()));
403403
404404 expect (() {
405405 RRect .fromRectAndCorners (
406406 const Rect .fromLTRB (10.0 , 20.0 , 30.0 , 40.0 ),
407407 bottomLeft: const Radius .circular (- 3 ),
408408 );
409- }, throwsA (isInstanceOf <AssertionError >()));
409+ }, throwsA (const isInstanceOf <AssertionError >()));
410410
411411 expect (() {
412412 RRect .fromRectAndCorners (
413413 const Rect .fromLTRB (10.0 , 20.0 , 30.0 , 40.0 ),
414414 bottomRight: const Radius .circular (- 4 ),
415415 );
416- }, throwsA (isInstanceOf <AssertionError >()));
416+ }, throwsA (const isInstanceOf <AssertionError >()));
417417 });
418418
419419 test ('RRect.inflate clamps when deflating past zero' , () {
0 commit comments