From 512fed4b5457cf13433b38dbbd8a35c2bf899cd6 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sat, 12 Oct 2019 09:42:11 -0400 Subject: [PATCH] Use Object instead of dynamic --- angel_container/test/empty_reflector_test.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/angel_container/test/empty_reflector_test.dart b/angel_container/test/empty_reflector_test.dart index 86c6c38a..593ef0f4 100644 --- a/angel_container/test/empty_reflector_test.dart +++ b/angel_container/test/empty_reflector_test.dart @@ -32,8 +32,8 @@ void main() { expect(mirror.constructors, isEmpty); }); - test('reflectedType returns dynamic', () { - expect(mirror.reflectedType, dynamic); + test('reflectedType returns Object', () { + expect(mirror.reflectedType, Object); }); test('cannot call newInstance', () { @@ -56,8 +56,8 @@ void main() { expect(mirror.typeParameters, isEmpty); }); - test('reflectedType returns dynamic', () { - expect(mirror.reflectedType, dynamic); + test('reflectedType returns Object', () { + expect(mirror.reflectedType, Object); }); test('cannot call newInstance', () {