Unverified Commit e99eb402 authored by Bartek Pacia's avatar Bartek Pacia Committed by GitHub

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 :)
parent 0ac1813b
...@@ -7,7 +7,7 @@ Dart VM and Flutter integration. ...@@ -7,7 +7,7 @@ Dart VM and Flutter integration.
Use this command to run (from the `flutter_tools` directory): Use this command to run (from the `flutter_tools` directory):
```shell ```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 You need to have downloaded the Dart SDK in your Flutter clone for this
......
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
These tests are not hermetic, and use the actual Flutter SDK. While These tests are not hermetic, and use the actual Flutter SDK. While
they don't require actual devices, they run `flutter_tester` to test 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): Use this command to run (from the `flutter_tools` directory):
```shell ```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 These tests are expensive to run and do not give meaningful coverage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment