Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: pkg/barback/test/asset_id_test.dart

Issue 23201013: pkg/barback: removed unused imports, added a missing import (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library barback.test.asset_id_test; 5 library barback.test.asset_id_test;
6 6
7 import 'dart:async';
8
9 import 'package:barback/barback.dart'; 7 import 'package:barback/barback.dart';
10 import 'package:unittest/unittest.dart'; 8 import 'package:unittest/unittest.dart';
11 9
12 import 'utils.dart'; 10 import 'utils.dart';
13 11
14 main() { 12 main() {
15 initConfig(); 13 initConfig();
16 group("parse", () { 14 group("parse", () {
17 test("parses the package and path", () { 15 test("parses the package and path", () {
18 var id = new AssetId.parse("package|path/to/asset.txt"); 16 var id = new AssetId.parse("package|path/to/asset.txt");
(...skipping 18 matching lines...) Expand all
37 expect(new AssetId.parse("foo|asset.txt"), equals( 35 expect(new AssetId.parse("foo|asset.txt"), equals(
38 new AssetId.parse("foo|asset.txt"))); 36 new AssetId.parse("foo|asset.txt")));
39 37
40 expect(new AssetId.parse("foo|asset.txt"), isNot(equals( 38 expect(new AssetId.parse("foo|asset.txt"), isNot(equals(
41 new AssetId.parse("bar|asset.txt")))); 39 new AssetId.parse("bar|asset.txt"))));
42 40
43 expect(new AssetId.parse("foo|asset.txt"), isNot(equals( 41 expect(new AssetId.parse("foo|asset.txt"), isNot(equals(
44 new AssetId.parse("bar|other.txt")))); 42 new AssetId.parse("bar|other.txt"))));
45 }); 43 });
46 } 44 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698