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

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

Issue 201483002: Cleanup for pkg/observe and pkg/polymer (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixed other pubspec 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
« no previous file with comments | « pkg/observe/test/observe_test.dart ('k') | pkg/polymer/example/component/news/test/news_index_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/observe/test/path_observer_test.dart
diff --git a/pkg/observe/test/path_observer_test.dart b/pkg/observe/test/path_observer_test.dart
index 0993c69754db0a21d82695618f0181038f38649d..8d71680a39e0c3af1f3cfc1d27889e87c083db18 100644
--- a/pkg/observe/test/path_observer_test.dart
+++ b/pkg/observe/test/path_observer_test.dart
@@ -201,7 +201,7 @@ observePathTests() {
test('Path Value With Indices', () {
var model = toObservable([]);
var path = new PathObserver(model, '0');
- path.open(expectAsync1((x) {
+ path.open(expectAsync((x) {
expect(path.value, 123);
expect(x, 123);
}));
@@ -214,7 +214,7 @@ observePathTests() {
var path = new PathObserver(model, 'isNotEmpty');
expect(path.value, false);
- path.open(expectAsync1((_) {
+ path.open(expectAsync((_) {
expect(path.value, true);
}));
model.add(123);
@@ -225,7 +225,7 @@ observePathTests() {
var path = new PathObserver(model, 'isEmpty');
expect(path.value, true);
- path.open(expectAsync1((_) {
+ path.open(expectAsync((_) {
expect(path.value, false);
}));
model.add(123);
« no previous file with comments | « pkg/observe/test/observe_test.dart ('k') | pkg/polymer/example/component/news/test/news_index_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698