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

Side by Side Diff: pkg/analyzer/test/src/util/yaml_test.dart

Issue 2391423003: Switch 'analyzer' to 'package:test' and test_reflective_loader ^0.1.0. (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 analyzer.src.test.util.yaml_test; 5 library analyzer.src.test.util.yaml_test;
6 6
7 import 'package:analyzer/src/util/yaml.dart'; 7 import 'package:analyzer/src/util/yaml.dart';
8 import 'package:unittest/unittest.dart'; 8 import 'package:test/test.dart';
9 9
10 import '../../utils.dart'; 10 import '../../utils.dart';
11 11
12 main() { 12 main() {
13 initializeTestEnvironment(); 13 initializeTestEnvironment();
14 14
15 group('yaml', () { 15 group('yaml', () {
16 group('merge', () { 16 group('merge', () {
17 test('map', () { 17 test('map', () {
18 expect( 18 expect(
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 expect(merge(1, 'foo'), 'foo'); 95 expect(merge(1, 'foo'), 'foo');
96 expect(merge({'foo': 1}, 'foo'), 'foo'); 96 expect(merge({'foo': 1}, 'foo'), 'foo');
97 }); 97 });
98 }); 98 });
99 }); 99 });
100 } 100 }
101 101
102 final Merger merger = new Merger(); 102 final Merger merger = new Merger();
103 103
104 Object merge(Object o1, Object o2) => merger.merge(o1, o2); 104 Object merge(Object o1, Object o2) => merger.merge(o1, o2);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698