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

Unified Diff: pkg/dev_compiler/test/codegen/lib/html/text_event_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/text_event_test.dart
diff --git a/pkg/dev_compiler/test/codegen/lib/html/text_event_test.dart b/pkg/dev_compiler/test/codegen/lib/html/text_event_test.dart
index 5be0651808164851d8d3b1ca5fd085d9e262b9df..9b063451963c899c7e4228c0b001e58b2c802cb8 100644
--- a/pkg/dev_compiler/test/codegen/lib/html/text_event_test.dart
+++ b/pkg/dev_compiler/test/codegen/lib/html/text_event_test.dart
@@ -2,17 +2,13 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library text_event_test;
-import "package:expect/expect.dart";
-import 'package:unittest/unittest.dart';
-import 'package:unittest/html_config.dart';
import 'dart:html';
+import 'package:minitest/minitest.dart';
+
import 'event_test.dart';
main() {
- useHtmlConfiguration();
-
eventTest('TextEvent', () => new TextEvent('foo', view: window, data: 'data'),
(ev) { expect(ev.data, 'data'); });
}
« no previous file with comments | « pkg/dev_compiler/test/codegen/lib/html/js_util_test.dart ('k') | pkg/dev_compiler/test/codegen/lib/html/util.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698