From d8dcfe8bef09a7e55daf079c35447e6de7cf94e7 Mon Sep 17 00:00:00 2001 From: debuggerx01 Date: Tue, 11 Jan 2022 18:03:25 +0800 Subject: [PATCH] fix error --- packages/orm/angel_orm_test/lib/src/join_test.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/orm/angel_orm_test/lib/src/join_test.dart b/packages/orm/angel_orm_test/lib/src/join_test.dart index 630bf156..27512d72 100644 --- a/packages/orm/angel_orm_test/lib/src/join_test.dart +++ b/packages/orm/angel_orm_test/lib/src/join_test.dart @@ -1,5 +1,4 @@ import 'dart:async'; -import 'dart:math'; import 'package:angel3_orm/angel3_orm.dart'; import 'package:test/test.dart'; @@ -86,6 +85,6 @@ void joinTests(FutureOr Function() createExecutor, query.orderBy(PersonOrderFields.personId, descending: true); query.orderBy(PersonOrderFields.id, descending: true); var orders = await query.get(executor); - expect(orders.first.personId > orders.last.personId, true); + expect(orders.first.personId! > orders.last.personId!, true); }); }