From e99eb402227f01f69047c26b40f8abb0485d42f8 Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Tue, 18 Apr 2023 01:34:23 +0200 Subject: [PATCH] Update usage of standalone`pub` executable in flutter_tools testing docs (#124898) Just found this while trying to run the integration test shard of `flutter_tools` locally :) --- packages/flutter_tools/test/integration.shard/README.md | 2 +- packages/flutter_tools/test/web.shard/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/flutter_tools/test/integration.shard/README.md b/packages/flutter_tools/test/integration.shard/README.md index d4875dbf97..c42b71817c 100644 --- a/packages/flutter_tools/test/integration.shard/README.md +++ b/packages/flutter_tools/test/integration.shard/README.md @@ -7,7 +7,7 @@ Dart VM and Flutter integration. Use this command to run (from the `flutter_tools` directory): ```shell -../../bin/cache/dart-sdk/bin/pub run test test/integration.shard +../../bin/cache/dart-sdk/bin/dart run test test/integration.shard ``` You need to have downloaded the Dart SDK in your Flutter clone for this diff --git a/packages/flutter_tools/test/web.shard/README.md b/packages/flutter_tools/test/web.shard/README.md index 39130a1c4f..f477d3b707 100644 --- a/packages/flutter_tools/test/web.shard/README.md +++ b/packages/flutter_tools/test/web.shard/README.md @@ -2,12 +2,12 @@ These tests are not hermetic, and use the actual Flutter SDK. While they don't require actual devices, they run `flutter_tester` to test -Dart web debug services (dwds) and Flutter integration. +Dart web debug services (dwds) and Flutter integration. Use this command to run (from the `flutter_tools` directory): ```shell -../../bin/cache/dart-sdk/bin/pub run test test/web.shard +../../bin/cache/dart-sdk/bin/dart run test test/web.shard ``` These tests are expensive to run and do not give meaningful coverage