Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1262)

Unified Diff: utils/tests/peg/src/PegTest.dart

Issue 8448006: Move PEG parser test into testing framework. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: utils/tests/peg/src/PegTest.dart
diff --git a/utils/peg/pegparser_test.dart b/utils/tests/peg/src/PegTest.dart
similarity index 99%
rename from utils/peg/pegparser_test.dart
rename to utils/tests/peg/src/PegTest.dart
index 98cd3dc2605a5b1d6cb7e9c32169113859250356..9d29662feb45a57557a5a03acac511f19833f8d6 100644
--- a/utils/peg/pegparser_test.dart
+++ b/utils/tests/peg/src/PegTest.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#import('pegparser.dart');
+#import('../../../peg/pegparser.dart');
testParens() {
Grammar g = new Grammar();
@@ -318,7 +318,7 @@ void check(grammar, rule, input, expected) {
}
// Prints the list in [1,2,3] notation, including nested lists.
-void printList(item) {
+printList(item) {
if (item is List) {
StringBuffer sb = new StringBuffer();
sb.add('[');

Powered by Google App Engine
This is Rietveld 408576698