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

Side by Side Diff: test/yaml_test.dart

Issue 1236933005: Upgrade to the new test runner. (Closed) Base URL: git@github.com:dart-lang/yaml@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « test/yaml_node_wrapper_test.dart ('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.test; 5 library yaml.test;
6 6
7 import 'package:unittest/unittest.dart'; 7 import 'package:test/test.dart';
8 import 'package:yaml/yaml.dart'; 8 import 'package:yaml/yaml.dart';
9 9
10 import 'utils.dart'; 10 import 'utils.dart';
11 11
12 main() { 12 main() {
13 var infinity = double.parse("Infinity"); 13 var infinity = double.parse("Infinity");
14 var nan = double.parse("NaN"); 14 var nan = double.parse("NaN");
15 15
16 group('has a friendly error message for', () { 16 group('has a friendly error message for', () {
17 var tabError = predicate((e) => 17 var tabError = predicate((e) =>
(...skipping 1821 matching lines...) Expand 10 before | Expand all | Expand 10 after
1839 A null: null 1839 A null: null
1840 Also a null: # Empty 1840 Also a null: # Empty
1841 Not a null: "" 1841 Not a null: ""
1842 Booleans: [ true, True, false, FALSE ] 1842 Booleans: [ true, True, false, FALSE ]
1843 Integers: [ 0, 0o7, 0x3A, -19 ] 1843 Integers: [ 0, 0o7, 0x3A, -19 ]
1844 Floats: [ 0., -0.0, .5, +12e03, -2E+05 ] 1844 Floats: [ 0., -0.0, .5, +12e03, -2E+05 ]
1845 Also floats: [ .inf, -.Inf, +.INF, .NAN ]'''); 1845 Also floats: [ .inf, -.Inf, +.INF, .NAN ]''');
1846 }); 1846 });
1847 }); 1847 });
1848 } 1848 }
OLDNEW
« no previous file with comments | « test/yaml_node_wrapper_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698