Skip to content

Commit 2b94bd6

Browse files
jensjohacommit-bot@chromium.org
authored andcommitted
[CFE] Fix renames from test to suite and move of parser
Change-Id: Ica6b0acd8fe6acd32b4a6776cb3203cef8ff7210 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/124990 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Jens Johansen <jensj@google.com>
1 parent d4f1512 commit 2b94bd6

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

pkg/front_end/test/parser_test_parser.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class TestParser extends Parser {
3232
// Find first one that's not any of the blacklisted ones.
3333
String line = traceLines[i];
3434
if (line.contains("parser_test_listener.dart:") ||
35-
line.contains("parser_test.dart:") ||
35+
line.contains("parser_suite.dart:") ||
3636
line.contains("parser_test_parser.dart:") ||
3737
line == "<asynchronous suspension>") continue;
3838
return line.substring(line.indexOf("(") + 1, line.lastIndexOf(")"));

pkg/front_end/test/parser_test_parser_creator.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ main(List<String> args) {
2121
} else {
2222
out = new StringBuffer();
2323
}
24-
25-
File f = new File.fromUri(
26-
Platform.script.resolve("../lib/src/fasta/parser/parser.dart"));
24+
File f = new File.fromUri(Platform.script
25+
.resolve("../../_fe_analyzer_shared/lib/src/parser/parser_impl.dart"));
2726
List<int> rawBytes = f.readAsBytesSync();
2827

2928
Uint8List bytes = new Uint8List(rawBytes.length + 1);
@@ -67,7 +66,7 @@ class TestParser extends Parser {
6766
// Find first one that's not any of the blacklisted ones.
6867
String line = traceLines[i];
6968
if (line.contains("parser_test_listener.dart:") ||
70-
line.contains("parser_test.dart:") ||
69+
line.contains("parser_suite.dart:") ||
7170
line.contains("parser_test_parser.dart:") ||
7271
line == "<asynchronous suspension>") continue;
7372
return line.substring(line.indexOf("(") + 1, line.lastIndexOf(")"));

0 commit comments

Comments
 (0)