From 022505e540dda6c1b11f9a6326876eef3906aaf8 Mon Sep 17 00:00:00 2001 From: pq Date: Tue, 18 Aug 2015 08:53:55 -0700 Subject: [PATCH] Invalid test cleanup (parse_test). --- CHANGELOG.md | 4 ++++ pubspec.yaml | 2 +- test/parse_test.dart | 7 ------- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 625f486..f4e355e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.1.3-dev + +- Invalid test cleanup (to keepup with changes in `Uri`). + ## 0.1.1 - Syntax updates. diff --git a/pubspec.yaml b/pubspec.yaml index d3acb90..4cc0006 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: package_config -version: 0.1.2 +version: 0.1.3-dev description: Support for working with Package Resolution config files. author: Dart Team homepage: https://github.com/dart-lang/package_config diff --git a/test/parse_test.dart b/test/parse_test.dart index 3c02c84..6f830a1 100644 --- a/test/parse_test.dart +++ b/test/parse_test.dart @@ -74,13 +74,6 @@ main() { equals(base.resolve("../test/").resolve("bar/baz.dart"))); }); - test("dot-dot 2", () { - var packages = doParse(singleRelativeSample, base); - expect(packages.packages.toList(), equals(["foo"])); - expect(packages.resolve(Uri.parse("package:qux/../foo/bar/baz.dart")), - equals(base.resolve("../test/").resolve("bar/baz.dart"))); - }); - test("all valid chars can be used in URI segment", () { var packages = doParse(allValidCharsSample, base); expect(packages.packages.toList(), equals([allValidChars]));