Added missing code block language in docs (#147481)

- added language for all code blocks
- replaced `bash` or `shell` with `sh` for consistency.
- added `sh` and `console` in the GitHub template link generator.
- updated test for GitHub template.
This commit is contained in:
Kishan Dhankecha
2024-05-01 20:14:27 +05:30
committed by GitHub
parent cb2197e9b3
commit 2867ac7885
28 changed files with 58 additions and 58 deletions

View File

@@ -9,7 +9,7 @@ Intended for use with devicelab tests.
If you want to run a driver test locally, to debug a problem with a test, you
can use this command from the appropriate subdirectory:
```shell
```sh
flutter drive -t <test> --driver <driver>
```

View File

@@ -1,7 +1,7 @@
# Android custom host app
Android host app for a Flutter module created using
```
```sh
$ flutter create -t module hello
```
and placed in a sibling folder to (a clone of) the host app.

View File

@@ -1,7 +1,7 @@
# Android host app
Android host app for a Flutter module created using
```
```sh
$ flutter create -t module hello
```
and placed in a sibling folder to (a clone of) the host app.

View File

@@ -28,7 +28,7 @@ subtle translation issues.
To run the test cases locally, use `flutter drive`[^2]:
```shell
```sh
flutter drive lib/frame_rate_main.dart --driver test_driver/frame_rate_test.dart
```

View File

@@ -3,7 +3,7 @@
Used by the `module_test_ios.dart` device lab test.
iOS host app for a Flutter module created using
```
```sh
$ flutter create -t module hello
```
and placed in a sibling folder to (a clone of) the host app.

View File

@@ -1,7 +1,7 @@
# Android host app
Android host app for a Flutter module created using
```
```sh
$ flutter create -t module hello
```
and placed in a sibling folder to (a clone of) the host app.

View File

@@ -6,7 +6,7 @@ chrome://version.
Start `chromedriver` using the following command:
```
```sh
chromedriver --port=4444
```
@@ -18,7 +18,7 @@ mode you'd like to run the test in.
Here's an example of running an integration test:
```
```sh
flutter drive --target=test_driver/text_editing_integration.dart \
-d web-server \
--browser-name=chrome \