Chromium Code Reviews

Side by Side Diff: test/snapshot/snapshots_transformed_code_test.dart

Issue 1585513002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 pub_tests;
6
7 import 'package:path/path.dart' as p; 5 import 'package:path/path.dart' as p;
8 import 'package:scheduled_test/scheduled_test.dart'; 6 import 'package:scheduled_test/scheduled_test.dart';
9 7
10 import '../descriptor.dart' as d; 8 import '../descriptor.dart' as d;
11 import '../test_pub.dart'; 9 import '../test_pub.dart';
12 10
13 const REPLACE_TRANSFORMER = """ 11 const REPLACE_TRANSFORMER = """
14 import 'dart:async'; 12 import 'dart:async';
15 13
16 import 'package:barback/barback.dart'; 14 import 'package:barback/barback.dart';
(...skipping 38 matching lines...)
55 53
56 d.dir(p.join(appPath, '.pub', 'bin'), [ 54 d.dir(p.join(appPath, '.pub', 'bin'), [
57 d.dir('foo', [d.matcherFile('hello.dart.snapshot', contains('hello!'))]) 55 d.dir('foo', [d.matcherFile('hello.dart.snapshot', contains('hello!'))])
58 ]).validate(); 56 ]).validate();
59 57
60 var process = pubRun(args: ['foo:hello']); 58 var process = pubRun(args: ['foo:hello']);
61 process.stdout.expect("hello!"); 59 process.stdout.expect("hello!");
62 process.shouldExit(); 60 process.shouldExit();
63 }); 61 });
64 } 62 }
OLDNEW

Powered by Google App Engine