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

Unified Diff: tests/lib_strong/html/custom/constructor_calls_created_synchronously_test.dart

Issue 2730713003: Update a couple more strong mode tests (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | tests/lib_strong/html/custom/document_register_basic_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib_strong/html/custom/constructor_calls_created_synchronously_test.dart
diff --git a/tests/lib_strong/html/custom/constructor_calls_created_synchronously_test.dart b/tests/lib_strong/html/custom/constructor_calls_created_synchronously_test.dart
index 256b9f8bdc10cf2ba164c4d93d9001830d81a2c9..b621efc9d86c13768fbcd23343df5fa5db276f32 100644
--- a/tests/lib_strong/html/custom/constructor_calls_created_synchronously_test.dart
+++ b/tests/lib_strong/html/custom/constructor_calls_created_synchronously_test.dart
@@ -55,7 +55,7 @@ main() {
extendsTag: 'section');
var fancy = document.createElement('section', 'fancy-section');
expect(fancy is FancySection, true, reason: 'fancy-section was registered');
- expect(fancy.wasCreated, true, reason: 'FancySection ctor was called');
+ expect((fancy as FancySection).wasCreated, true, reason: 'FancySection ctor was called');
});
}
« no previous file with comments | « no previous file | tests/lib_strong/html/custom/document_register_basic_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698