Skip to content

Commit

Permalink
Move flutter_test to dev_dependencies (flutter#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderso authored Jan 18, 2018
1 parent eec04ac commit a4d88c7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
5 changes: 5 additions & 0 deletions packages/flutter_image/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 0.0.3

- Moved `flutter_test` to dev_dependencies in `pubspec.yaml`, and fixed issues
flagged by the analyzer.

## 0.0.2

- Add `NetworkImageWithRetry`, an `ImageProvider` with a retry mechanism.
Expand Down
1 change: 0 additions & 1 deletion packages/flutter_image/lib/network.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import 'dart:typed_data';
import 'dart:ui' as ui;

import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';

/// Fetches the image from the given URL, associating it with the given scale.
Expand Down
6 changes: 3 additions & 3 deletions packages/flutter_image/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: flutter_image
version: 0.0.2
version: 0.0.3
description: >
Image utilities for Flutter: providers, effects, etc
author: Flutter Team <flutter-dev@googlegroups.com>
Expand All @@ -11,9 +11,9 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_test:
sdk: flutter

dev_dependencies:
quiver: '>=0.24.0 <2.0.0'
test: any
flutter_test:
sdk: flutter
2 changes: 1 addition & 1 deletion packages/flutter_image/test/network_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:flutter/painting.dart';
import 'package:flutter_image/network.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:quiver/testing/async.dart';
Expand Down

0 comments on commit a4d88c7

Please sign in to comment.