added missing collection dependency
fixed test, updated homepage url, added SDK constraint
Review URL: https://codereview.chromium.org//861313003
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4a1e352..0532177 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.0.4
+
+* Added overlooked `collection` dependency.
+
## 1.0.3
* Fix a bug where `Glob.list()` and `Glob.listSync()` would incorrectly throw
diff --git a/pubspec.yaml b/pubspec.yaml
index 855fc5c..000cfa8 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,9 +1,10 @@
name: glob
-version: 1.0.3
+version: 1.0.4
author: "Dart Team <misc@dartlang.org>"
-homepage: http://github.com/dart-lang/glob
+homepage: https://github.com/dart-lang/glob
description: Bash-style filename globbing.
dependencies:
+ collection: ">=1.1.0 <2.0.0"
path: ">=1.0.0 <2.0.0"
string_scanner: ">=0.1.0 <0.2.0"
dev_dependencies:
diff --git a/test/parse_test.dart b/test/parse_test.dart
index 498d035..11bf1f5 100644
--- a/test/parse_test.dart
+++ b/test/parse_test.dart
@@ -25,8 +25,8 @@
expect("fo2", contains(bang));
var caret = new Glob("fo[^a-z]");
- expect("foo", isNot(contains(bang)));
- expect("fo2", contains(bang));
+ expect("foo", isNot(contains(caret)));
+ expect("fo2", contains(caret));
});
test("supports backslash-escaped characters", () {