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

Side by Side Diff: test/version_range_test.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 | « test/version_constraint_test.dart ('k') | test/version_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.version_range_test;
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 import 'utils.dart'; 9 import 'utils.dart';
12 10
13 main() { 11 main() {
14 group('constructor', () { 12 group('constructor', () {
15 test('takes a min and max', () { 13 test('takes a min and max', () {
16 var range = new VersionRange(min: v123, max: v124); 14 var range = new VersionRange(min: v123, max: v124);
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 expect(result, equals(new VersionRange( 439 expect(result, equals(new VersionRange(
442 min: v003, max: v114, includeMin: true, includeMax: true))); 440 min: v003, max: v114, includeMin: true, includeMax: true)));
443 }); 441 });
444 }); 442 });
445 443
446 test('isEmpty', () { 444 test('isEmpty', () {
447 expect(new VersionRange().isEmpty, isFalse); 445 expect(new VersionRange().isEmpty, isFalse);
448 expect(new VersionRange(min: v123, max: v124).isEmpty, isFalse); 446 expect(new VersionRange(min: v123, max: v124).isEmpty, isFalse);
449 }); 447 });
450 } 448 }
OLDNEW
« no previous file with comments | « test/version_constraint_test.dart ('k') | test/version_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698