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

Side by Side Diff: pkg/yaml/test/yaml_node_wrapper_test.dart

Issue 423033002: Fix an import in yaml_node_wrapper_test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « pkg/yaml/pubspec.yaml ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 yaml.node_wrapper_test; 5 library yaml.node_wrapper_test;
6 6
7 import 'package:source_maps/source_maps.dart'; 7 import 'package:source_span/source_span.dart';
8 import 'package:unittest/unittest.dart'; 8 import 'package:unittest/unittest.dart';
9 import 'package:yaml/yaml.dart'; 9 import 'package:yaml/yaml.dart';
10 10
11 main() { 11 main() {
12 test("YamlMap() with no sourceUrl", () { 12 test("YamlMap() with no sourceUrl", () {
13 var map = new YamlMap(); 13 var map = new YamlMap();
14 expect(map, isEmpty); 14 expect(map, isEmpty);
15 expect(map.nodes, isEmpty); 15 expect(map.nodes, isEmpty);
16 expect(map.span, isNullSpan(isNull)); 16 expect(map.span, isNullSpan(isNull));
17 }); 17 });
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 expect(span, new isInstanceOf<SourceSpan>()); 154 expect(span, new isInstanceOf<SourceSpan>());
155 expect(span.length, equals(0)); 155 expect(span.length, equals(0));
156 expect(span.text, isEmpty); 156 expect(span.text, isEmpty);
157 expect(span.start, equals(span.end)); 157 expect(span.start, equals(span.end));
158 expect(span.start.offset, equals(0)); 158 expect(span.start.offset, equals(0));
159 expect(span.start.line, equals(0)); 159 expect(span.start.line, equals(0));
160 expect(span.start.column, equals(0)); 160 expect(span.start.column, equals(0));
161 expect(span.sourceUrl, sourceUrl); 161 expect(span.sourceUrl, sourceUrl);
162 return true; 162 return true;
163 }); 163 });
OLDNEW
« no previous file with comments | « pkg/yaml/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698