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

Unified Diff: tests/html/cssstyledeclaration_test.dart

Issue 218273002: Upgrading tests with unittest deprecations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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: tests/html/cssstyledeclaration_test.dart
diff --git a/tests/html/cssstyledeclaration_test.dart b/tests/html/cssstyledeclaration_test.dart
index 0634b3488806d2ec9fc29e408548d463e49dbfea..12a5f1559fef273bcd1133f461c294fa630924b0 100644
--- a/tests/html/cssstyledeclaration_test.dart
+++ b/tests/html/cssstyledeclaration_test.dart
@@ -86,7 +86,7 @@ main() {
document.body.children.add(element);
// Need to wait one tick after the element has been added to the page.
- new Timer(const Duration(milliseconds: 10), expectAsync0(() {
+ new Timer(const Duration(milliseconds: 10), expectAsync(() {
element.style.textDecoration = 'underline';
var style = element.getComputedStyle();
expect(style.textDecoration, contains('underline'));

Powered by Google App Engine
This is Rietveld 408576698