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

Unified Diff: pkg/analyzer/test/generated/utilities_test.dart

Issue 673233003: Replace custom EngineTestCase.assertEquals() with 'unorderedEquals'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « pkg/analyzer/test/generated/test_support.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/utilities_test.dart
diff --git a/pkg/analyzer/test/generated/utilities_test.dart b/pkg/analyzer/test/generated/utilities_test.dart
index 69393344f68e00081b63f0603cdcefcf45017eed..5aea6b7dc4ef9067601e97ac2e3f40e3fc226976 100644
--- a/pkg/analyzer/test/generated/utilities_test.dart
+++ b/pkg/analyzer/test/generated/utilities_test.dart
@@ -2402,8 +2402,8 @@ class DirectedGraphTest extends EngineTestCase {
List<List<DirectedGraphTest_Node>> topologicalSort =
graph.computeTopologicalSort();
expect(topologicalSort, hasLength(2));
- EngineTestCase.assertContains(topologicalSort[0], [node3, node4]);
- EngineTestCase.assertContains(topologicalSort[1], [node1, node2]);
+ expect(topologicalSort[0], unorderedEquals([node3, node4]));
+ expect(topologicalSort[1], unorderedEquals([node1, node2]));
}
}
« no previous file with comments | « pkg/analyzer/test/generated/test_support.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698