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

Unified Diff: pkg/dev_compiler/test/codegen/lib/html/domparser_test.dart

Issue 2413073002: Start cleaning up the HTML tests. (Closed)
Patch Set: Unfork expect.dart. 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 side-by-side diff with in-line comments
Download patch
Index: pkg/dev_compiler/test/codegen/lib/html/domparser_test.dart
diff --git a/pkg/dev_compiler/test/codegen/lib/html/domparser_test.dart b/pkg/dev_compiler/test/codegen/lib/html/domparser_test.dart
index 61ecf86d7de7078324fc2a0da20af2fb8ac72b96..37f6a02f2c396095a44872e3e3947ac8959c46ce 100644
--- a/pkg/dev_compiler/test/codegen/lib/html/domparser_test.dart
+++ b/pkg/dev_compiler/test/codegen/lib/html/domparser_test.dart
@@ -1,17 +1,13 @@
-library DOMParserTest;
-import 'package:unittest/unittest.dart';
-import 'package:unittest/html_config.dart';
import 'dart:html';
-main() {
-
- useHtmlConfiguration();
+import 'package:minitest/minitest.dart';
+main() {
var isDomParser = predicate((x) => x is DomParser, 'is a DomParser');
test('constructorTest', () {
- var ctx = new DomParser();
- expect(ctx, isNotNull);
- expect(ctx, isDomParser);
+ var ctx = new DomParser();
+ expect(ctx, isNotNull);
+ expect(ctx, isDomParser);
});
}

Powered by Google App Engine
This is Rietveld 408576698