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

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

Issue 53683004: fix observe tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | pkg/observe/test/observable_list_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/observe/test/list_change_test.dart
diff --git a/pkg/observe/test/list_change_test.dart b/pkg/observe/test/list_change_test.dart
index 1375b1b32f271204705d4cd0b29df05e651f0c0c..6aeac7c2daa83f453cb1361c7311a8d9123afcda 100644
--- a/pkg/observe/test/list_change_test.dart
+++ b/pkg/observe/test/list_change_test.dart
@@ -268,7 +268,7 @@ listChangeTests() {
observeArray(model);
model.length = 0;
model.addAll(['1', '2', '3', 'y', 'y', 'y', 'y']);
- assertEditDistance(model, 7);
+ assertEditDistance(model, 8);
});
observeTest('truncate and add, sharing a discontiguous block', () {
@@ -276,7 +276,7 @@ listChangeTests() {
observeArray(model);
model.length = 0;
model.addAll(['a', '2', 'y', 'y', '4', '5', 'z', 'z']);
- assertEditDistance(model, 8);
+ assertEditDistance(model, 7);
});
observeTest('insert at beginning and end', () {
« no previous file with comments | « no previous file | pkg/observe/test/observable_list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698