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

Side by Side Diff: test/utils.dart

Issue 1581853003: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/pub_semver@master
Patch Set: Created 4 years, 11 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 | « lib/src/version_union.dart ('k') | test/version_constraint_test.dart » ('j') | 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) 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_semver.test.utils;
6
7 import 'package:test/test.dart'; 5 import 'package:test/test.dart';
8 6
9 import 'package:pub_semver/pub_semver.dart'; 7 import 'package:pub_semver/pub_semver.dart';
10 8
11 /// Some stock example versions to use in tests. 9 /// Some stock example versions to use in tests.
12 final v003 = new Version.parse('0.0.3'); 10 final v003 = new Version.parse('0.0.3');
13 final v010 = new Version.parse('0.1.0'); 11 final v010 = new Version.parse('0.1.0');
14 final v072 = new Version.parse('0.7.2'); 12 final v072 = new Version.parse('0.7.2');
15 final v080 = new Version.parse('0.8.0'); 13 final v080 = new Version.parse('0.8.0');
16 final v114 = new Version.parse('1.1.4'); 14 final v114 = new Version.parse('1.1.4');
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 var versions = [v1]; 89 var versions = [v1];
92 if (v2 != null) versions.add(v2); 90 if (v2 != null) versions.add(v2);
93 if (v3 != null) versions.add(v3); 91 if (v3 != null) versions.add(v3);
94 if (v4 != null) versions.add(v4); 92 if (v4 != null) versions.add(v4);
95 if (v5 != null) versions.add(v5); 93 if (v5 != null) versions.add(v5);
96 if (v6 != null) versions.add(v6); 94 if (v6 != null) versions.add(v6);
97 if (v7 != null) versions.add(v7); 95 if (v7 != null) versions.add(v7);
98 if (v8 != null) versions.add(v8); 96 if (v8 != null) versions.add(v8);
99 return versions; 97 return versions;
100 } 98 }
OLDNEW
« no previous file with comments | « lib/src/version_union.dart ('k') | test/version_constraint_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698