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

Unified Diff: tests/compiler/dart2js/serialization/test_helper.dart

Issue 2070493003: Revert "Remove Registry from registerMetadataConstant" and "Serialize metadata" (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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 | « tests/compiler/dart2js/serialization/model_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/serialization/test_helper.dart
diff --git a/tests/compiler/dart2js/serialization/test_helper.dart b/tests/compiler/dart2js/serialization/test_helper.dart
index a6dddf9069ac5b48367379cf54cf08f932aca978..34f40aa76b4c634dfd107d1ff2f0d91868c6bfd5 100644
--- a/tests/compiler/dart2js/serialization/test_helper.dart
+++ b/tests/compiler/dart2js/serialization/test_helper.dart
@@ -436,7 +436,6 @@ void checkSets(
String messagePrefix,
bool sameElement(a, b),
{bool failOnUnfound: true,
- bool failOnExtra: true,
bool verbose: false,
void onSameElement(a, b)}) {
List<List> common = <List>[];
@@ -459,8 +458,7 @@ void checkSets(
String message = sb.toString();
if (unfound.isNotEmpty || remaining.isNotEmpty) {
- if ((failOnUnfound && unfound.isNotEmpty) ||
- (failOnExtra && remaining.isNotEmpty)) {
+ if (failOnUnfound || remaining.isNotEmpty) {
Expect.fail(message);
} else {
print(message);
« no previous file with comments | « tests/compiler/dart2js/serialization/model_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698