From 63c09ad47fbbae845606d50bfaa361c6d6f502ef Mon Sep 17 00:00:00 2001 From: StanleyCocos Date: Wed, 4 Dec 2024 17:32:17 +0800 Subject: [PATCH] fix(device_info_plus): fix the error in the e2e test. --- .../example/integration_test/device_info_plus_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/device_info_plus/device_info_plus/example/integration_test/device_info_plus_test.dart b/packages/device_info_plus/device_info_plus/example/integration_test/device_info_plus_test.dart index b3855ab1f8..84d2630492 100644 --- a/packages/device_info_plus/device_info_plus/example/integration_test/device_info_plus_test.dart +++ b/packages/device_info_plus/device_info_plus/example/integration_test/device_info_plus_test.dart @@ -67,7 +67,7 @@ void main() { testWidgets('Can get non-null iOS utsname fields', (WidgetTester tester) async { - expect(iosInfo.utsname.machine, 'iPhone15,4'); + expect(iosInfo.utsname.machine, isNotNull); expect(iosInfo.utsname.nodename, isNotNull); expect(iosInfo.utsname.release, isNotNull); expect(iosInfo.utsname.sysname, isNotNull);