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

Unified Diff: test/path_observer_test.dart

Issue 1838473002: fix observe package to be strong mode clean (Closed) Base URL: git@github.com:dart-lang/observe.git@master
Patch Set: Created 4 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
« no previous file with comments | « test/observe_test_utils.dart ('k') | test/transformer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/path_observer_test.dart
diff --git a/test/path_observer_test.dart b/test/path_observer_test.dart
index 6e45ac5515870ce83500ba104b407e8b9250a383..03c7ca2cd15864f22d7b37598235df79e3d9888b 100644
--- a/test/path_observer_test.dart
+++ b/test/path_observer_test.dart
@@ -161,7 +161,7 @@ observePathTests() {
new PropertyPath('').setValueFrom(123, 42);
expect(() => new PropertyPath('foo.bar.baz').setValueFrom(123, 42),
_throwsNSM('foo'));
- var foo = {};
+ Object foo = {};
expect(new PathObserver(foo, '').value, foo);
foo = new Object();
@@ -711,7 +711,7 @@ class IndexerModel implements Indexable<String, dynamic> {
}
@reflectable
-class TestModel extends ChangeNotifier {
+class TestModel extends ChangeNotifier implements WatcherModel {
var _a, _b, _c;
TestModel([this._a, this._b, this._c]);
« no previous file with comments | « test/observe_test_utils.dart ('k') | test/transformer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698