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

Side by Side Diff: pkg/dev_compiler/test/codegen/lib/html/document_test.dart

Issue 2416853003: Move minitest.dart into the expect package. (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
1 import 'dart:html'; 1 import 'dart:html';
2 2
3 import 'package:minitest/minitest.dart'; 3 import 'package:expect/minitest.dart';
4 4
5 main() { 5 main() {
6 var isElement = predicate((x) => x is Element, 'is an Element'); 6 var isElement = predicate((x) => x is Element, 'is an Element');
7 var isDivElement = predicate((x) => x is DivElement, 'is a DivElement'); 7 var isDivElement = predicate((x) => x is DivElement, 'is a DivElement');
8 var isAnchorElement = 8 var isAnchorElement =
9 predicate((x) => x is AnchorElement, 'is an AnchorElement'); 9 predicate((x) => x is AnchorElement, 'is an AnchorElement');
10 var isUnknownElement = 10 var isUnknownElement =
11 predicate((x) => x is UnknownElement, 'is UnknownElement'); 11 predicate((x) => x is UnknownElement, 'is UnknownElement');
12 12
13 var inscrutable; 13 var inscrutable;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 test('typeTest2', () { 75 test('typeTest2', () {
76 inscrutable = inscrutable(inscrutable); 76 inscrutable = inscrutable(inscrutable);
77 // XML document. 77 // XML document.
78 var doc3 = document.implementation.createDocument(null, 'report', null); 78 var doc3 = document.implementation.createDocument(null, 'report', null);
79 expect(doc3 is HtmlDocument, false); 79 expect(doc3 is HtmlDocument, false);
80 expect(inscrutable(doc3) is HtmlDocument, false); 80 expect(inscrutable(doc3) is HtmlDocument, false);
81 }); 81 });
82 }); 82 });
83 } 83 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698