| 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);
|
|
|