OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 import 'package:testing/testing.dart'; | 5 import 'package:testing/testing.dart'; |
6 | 6 |
7 import 'package:front_end/src/fasta/scanner.dart'; | 7 import 'package:front_end/src/fasta/scanner.dart'; |
8 | 8 |
9 import 'package:front_end/src/fasta/testing/scanner_chain.dart'; | 9 import 'package:front_end/src/fasta/testing/scanner_chain.dart'; |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 return fail(null, errors.join("\n")); | 35 return fail(null, errors.join("\n")); |
36 } | 36 } |
37 } on ParserError catch (e, s) { | 37 } on ParserError catch (e, s) { |
38 return fail(null, e, s); | 38 return fail(null, e, s); |
39 } | 39 } |
40 return pass(null); | 40 return pass(null); |
41 } | 41 } |
42 } | 42 } |
43 | 43 |
44 main(List<String> arguments) => | 44 main(List<String> arguments) => |
45 runMe(arguments, createContext, "../testing.json"); | 45 runMe(arguments, createContext, "../../../testing.json"); |
OLD | NEW |