[H] Cleanup (#23632)

* Avoid abbreviations

* Sample code for AppBar.leading

* Add a test for OverflowBox/FractionallySizedBox

* Minor wording improvements in the text.

The words "note that" here don't really contribute to the flow.
This commit is contained in:
Ian Hickson
2018-10-29 19:44:00 -07:00
committed by GitHub
parent 5fc6b87174
commit 4a094de290
6 changed files with 77 additions and 19 deletions

View File

@@ -41,7 +41,8 @@ void main() {
equals('/home/me/.AndroidStudioWithCheese5.0/config/plugins'));
}, overrides: <Type, Generator>{
FileSystem: () => fs,
// Note that custom home paths are not supported on macOS nor Windows yet:
// Custom home paths are not supported on macOS nor Windows yet,
// so we force the platform to fake Linux here.
Platform: () => linuxPlatform(),
});
});

View File

@@ -23,7 +23,8 @@ void main() {
final NoAndroidStudioValidator validator = NoAndroidStudioValidator();
expect((await validator.validate()).type, equals(ValidationType.notAvailable));
}, overrides: <Type, Generator>{
// Note that custom home paths are not supported on macOS nor Windows yet:
// Custom home paths are not supported on macOS nor Windows yet,
// so we force the platform to fake Linux here.
Platform: () => linuxPlatform(),
});
});