OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 |
| 5 library fasta.test.compile_test; |
| 6 |
| 7 import 'dart:async' show Future; |
| 8 |
| 9 import 'package:front_end/src/fasta/testing/suite.dart'; |
| 10 |
| 11 Future<FastaContext> createContext( |
| 12 Chain suite, Map<String, String> environment) { |
| 13 environment[ENABLE_FULL_COMPILE] = ""; |
| 14 environment[AST_KIND_INDEX] = "${AstKind.Kernel.index}"; |
| 15 environment[STRONG_MODE] = ""; |
| 16 return FastaContext.create(suite, environment); |
| 17 } |
| 18 |
| 19 main(List<String> arguments) => runMe(arguments, createContext, "testing.json"); |
OLD | NEW |