Skip to content

Commit

Permalink
Review Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gspencergoog committed Aug 23, 2018
1 parent ab93a7c commit 4cf9b0e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ pub global run flutter_plugin_tools format --plugins package_name
pub global run flutter_plugin_tools analyze --plugins package_name
pub global run flutter_plugin_tools test --plugins package_name
```
* Check that the package can be published (but don't publish it until it has landed!):

```
cd packages/package_name; pub publish --dry-run
```

* `git commit -a -m "<your informative commit message>"`
* `git push origin <name_of_your_branch>`

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Flutter Packages

[![Build Status](https://travis-ci.org/flutter/packages.svg?branch=master)](https://travis-ci.org/flutter/packages)
[![Build Status](https://api.cirrus-ci.com/github/flutter/packages.svg)](https://cirrus-ci.com/github/flutter/packages)
[![Build Status](https://api.cirrus-ci.com/github/flutter/packages.svg)](https://cirrus-ci.com/github/flutter/packages/master)

This repo is a companion repo to the main [flutter repo](
https://github.com/flutter/flutter). It contains the source code for Flutter's
Expand Down
3 changes: 1 addition & 2 deletions packages/palette_generator/test/palette_generator_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,11 @@ void main() async {
testImages[name] = await loadImage('$name.png');
}

testWidgets('Initialize the image cache', (WidgetTester tester) {
testWidgets('Initialize the image cache', (WidgetTester tester) async {
// We need to have a testWidgets test in order to initialize the image
// cache for the other tests, but they timeout if they too are testWidgets
// tests.
tester.pumpWidget(const Placeholder());
return new Future<Null>.value();
});

test('PaletteGenerator works on 1-pixel wide blue image', () async {
Expand Down

0 comments on commit 4cf9b0e

Please sign in to comment.