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

Unified Diff: dart/pkg/observe/test/path_observer_test.dart

Issue 336013003: Version 1.5.0-dev.4.14 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 6 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 | « dart/pkg/observe/pubspec.yaml ('k') | dart/pkg/pkg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/observe/test/path_observer_test.dart
===================================================================
--- dart/pkg/observe/test/path_observer_test.dart (revision 37358)
+++ dart/pkg/observe/test/path_observer_test.dart (working copy)
@@ -327,7 +327,7 @@
expect(model._foo, 'hi');
expect(observer.value, 'hi');
- expect(model.log, [#foo, const Symbol('foo='), #foo]);
+ expect(model.log, [#foo, const Symbol('foo='), #foo, #foo]);
// These shouldn't throw
observer = new PathObserver(model, 'bar');
@@ -345,7 +345,7 @@
model.log.clear();
observer.value = 'hi';
- expect(model.log, ['[]= foo hi']);
+ expect(model.log, ['[]= foo hi', '[] foo']);
expect(model._foo, 'hi');
expect(observer.value, 'hi');
@@ -358,7 +358,7 @@
model.log.clear();
observer.value = 42;
- expect(model.log, ['[]= bar 42']);
+ expect(model.log, ['[]= bar 42', '[] bar']);
model.log.clear();
});
}
« no previous file with comments | « dart/pkg/observe/pubspec.yaml ('k') | dart/pkg/pkg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698