From 4517d16b53ba8e292ef770c8f4e263027f63712c Mon Sep 17 00:00:00 2001 From: Jia Hao Date: Sat, 4 Dec 2021 03:34:10 +0800 Subject: [PATCH] [flutter_tools] Fix incorrect todo (#94597) --- packages/flutter_tools/lib/src/commands/test.dart | 2 +- .../flutter_tools/test/commands.shard/hermetic/test_test.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter_tools/lib/src/commands/test.dart b/packages/flutter_tools/lib/src/commands/test.dart index 793afd8e64..f809823f5b 100644 --- a/packages/flutter_tools/lib/src/commands/test.dart +++ b/packages/flutter_tools/lib/src/commands/test.dart @@ -415,7 +415,7 @@ class TestCommand extends FlutterCommand with DeviceBasedDevelopmentArtifacts { ); } if (integrationTestDevice.platformType == PlatformType.web) { - // TODO(jiahaog): Support web. https://github.com/flutter/flutter/pull/74236 + // TODO(jiahaog): Support web. https://github.com/flutter/flutter/issues/66264 throwToolExit('Web devices are not supported for integration tests yet.'); } diff --git a/packages/flutter_tools/test/commands.shard/hermetic/test_test.dart b/packages/flutter_tools/test/commands.shard/hermetic/test_test.dart index 0bd710c7b1..17762d3954 100644 --- a/packages/flutter_tools/test/commands.shard/hermetic/test_test.dart +++ b/packages/flutter_tools/test/commands.shard/hermetic/test_test.dart @@ -561,7 +561,7 @@ dev_dependencies: DeviceManager: () => _FakeDeviceManager([]), }); - // TODO(jiahaog): Remove this when web is supported. https://github.com/flutter/flutter/pull/74236 + // TODO(jiahaog): Remove this when web is supported. https://github.com/flutter/flutter/issues/66264 testUsingContext('Integration tests when only web devices are connected', () async { final FakeFlutterTestRunner testRunner = FakeFlutterTestRunner(0);