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

Unified Diff: sdk/lib/_internal/pub/test/version_solver_test.dart

Issue 17071010: Cleanup MatchState in pub. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « sdk/lib/_internal/pub/test/test_pub.dart ('k') | sdk/lib/_internal/pub/test/version_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/test/version_solver_test.dart
===================================================================
--- sdk/lib/_internal/pub/test/version_solver_test.dart (revision 24041)
+++ sdk/lib/_internal/pub/test/version_solver_test.dart (working copy)
@@ -954,7 +954,7 @@
Description describeMismatch(SolveResult result,
Description description,
- MatchState state, bool verbose) {
+ Map state, bool verbose) {
if (!result.succeeded) {
description.add('Solver failed with:\n${result.error}');
return null;
@@ -965,7 +965,7 @@
return description;
}
- bool matches(SolveResult result, MatchState state) {
+ bool matches(SolveResult result, Map state) {
if (!result.succeeded) return false;
var expected = new Map.from(_expected);
@@ -1030,12 +1030,12 @@
Description describeMismatch(SolveResult result,
Description description,
- MatchState state, bool verbose) {
+ Map state, bool verbose) {
description.add(state.state);
return description;
}
- bool matches(SolveResult result, MatchState state) {
+ bool matches(SolveResult result, Map state) {
var failures = new StringBuffer();
if (result.succeeded) {
« no previous file with comments | « sdk/lib/_internal/pub/test/test_pub.dart ('k') | sdk/lib/_internal/pub/test/version_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698