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

Side by Side Diff: test/operator_matchers_test.dart

Issue 1584563003: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/matcher@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/numeric_matchers_test.dart ('k') | test/pretty_print_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) 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 matcher.operator_matchers_test;
6
7 import 'package:matcher/matcher.dart'; 5 import 'package:matcher/matcher.dart';
8 import 'package:test/test.dart' 6 import 'package:test/test.dart'
9 show test, group, expect, throwsArgumentError; 7 show test, group, expect, throwsArgumentError;
10 8
11 import 'test_utils.dart'; 9 import 'test_utils.dart';
12 10
13 void main() { 11 void main() {
14 test('anyOf', () { 12 test('anyOf', () {
15 // with a list 13 // with a list
16 shouldFail( 14 shouldFail(
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 "Actual: <4> " 47 "Actual: <4> "
50 "Which: is not a value less than <4>"); 48 "Which: is not a value less than <4>");
51 }); 49 });
52 50
53 test('If the first argument is a List, the rest must be null', () { 51 test('If the first argument is a List, the rest must be null', () {
54 expect(() => allOf([], 5), throwsArgumentError); 52 expect(() => allOf([], 5), throwsArgumentError);
55 expect( 53 expect(
56 () => anyOf([], null, null, null, null, null, 42), throwsArgumentError); 54 () => anyOf([], null, null, null, null, null, 42), throwsArgumentError);
57 }); 55 });
58 } 56 }
OLDNEW
« no previous file with comments | « test/numeric_matchers_test.dart ('k') | test/pretty_print_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698