| Index: pkg/front_end/lib/src/fasta/testing/kernel_chain.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart b/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart
|
| index ded157d032482d0b88bbdd526159be64b489d8cb..f5ecfdd538cac83983f61f80c07a62053c8cc2dc 100644
|
| --- a/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart
|
| +++ b/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart
|
| @@ -247,6 +247,12 @@ class MatchExpectation extends Step<Program, Program, dynamic> {
|
| StringBuffer buffer = new StringBuffer();
|
| new Printer(buffer).writeLibraryFile(library);
|
|
|
| + bool updateExpectations = this.updateExpectations;
|
| + if (uri.path.contains("/test/rasta/")) {
|
| + // TODO(ahe): Remove this. Short term, we don't want to automatically
|
| + // update rasta expectations, as we have too many failures.
|
| + updateExpectations = false;
|
| + }
|
| File expectedFile = new File("${uri.toFilePath()}$suffix");
|
| if (await expectedFile.exists()) {
|
| String expected = await expectedFile.readAsString();
|
|
|