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

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

Issue 2419863002: Remove uses of unittest in the HTML tests where possible. (Closed)
Patch Set: Remove TODO. 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 library WindowEqualityTest;
2 import 'package:unittest/unittest.dart';
3 import 'package:unittest/html_config.dart';
4 import 'dart:html'; 1 import 'dart:html';
5 2
3 import 'package:expect/minitest.dart';
4
6 main() { 5 main() {
7 useHtmlConfiguration();
8 var obfuscated = null; 6 var obfuscated = null;
9 7
10 test('notNull', () { 8 test('notNull', () {
11 expect(window, isNotNull); 9 expect(window, isNotNull);
12 expect(window, isNot(equals(obfuscated))); 10 expect(window != obfuscated, isTrue);
13 }); 11 });
14 } 12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698