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

Side by Side Diff: pkg/dev_compiler/test/codegen/lib/html/input_element_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 void check(InputElement element, String type, [bool supported = true]) { 5 void check(InputElement element, String type, [bool supported = true]) {
6 expect(element is InputElement, true); 6 expect(element is InputElement, true);
7 if (supported) { 7 if (supported) {
8 expect(element.type, type); 8 expect(element.type, type);
9 } else { 9 } else {
10 expect(element.type, 'text'); 10 expect(element.type, 'text');
11 } 11 }
12 } 12 }
13 13
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 }); 183 });
184 test('valueSetNullProxy', () { 184 test('valueSetNullProxy', () {
185 final e = new TextInputElement(); 185 final e = new TextInputElement();
186 e.value = _undefined; 186 e.value = _undefined;
187 expect(e.value, ''); 187 expect(e.value, '');
188 }); 188 });
189 }); 189 });
190 } 190 }
191 191
192 var _undefined = (() => new List(5)[0])(); 192 var _undefined = (() => new List(5)[0])();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698