mirror of
https://github.com/dart-lang/sdk
synced 2024-07-19 20:17:27 +00:00
migrate pkg/js_ast to package:test
Change-Id: I9cf43c37e425b8c6e48a6c24edce888137dc3560 Reviewed-on: https://dart-review.googlesource.com/35463 Reviewed-by: Keerti Parthasarathy <keertip@google.com> Commit-Queue: Gary Roumanis <grouma@google.com>
This commit is contained in:
parent
a6c5bb2875
commit
0456f6c95a
|
@ -3,6 +3,6 @@ author: Dart Team <misc@dartlang.org>
|
|||
description: Library creating and printing JavaScript ASTs.
|
||||
homepage: http://www.dartlang.org
|
||||
dev_dependencies:
|
||||
unittest: ">=0.9.0 <0.10.0"
|
||||
test: '^0.12.29'
|
||||
environment:
|
||||
sdk: ">=0.8.10+6 <2.0.0"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
library js_ast.printer.callback_test;
|
||||
|
||||
import 'package:js_ast/js_ast.dart';
|
||||
import 'package:unittest/unittest.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
enum TestMode {
|
||||
INPUT,
|
||||
|
@ -246,5 +246,7 @@ class Context extends SimpleJavaScriptPrintingContext {
|
|||
}
|
||||
|
||||
void main() {
|
||||
DATA.forEach(check);
|
||||
test('printer callback test', () {
|
||||
DATA.forEach(check);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ library js_ast.string_escape_test;
|
|||
|
||||
import 'package:js_ast/js_ast.dart';
|
||||
import 'package:js_ast/src/characters.dart';
|
||||
import 'package:unittest/unittest.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
const int $LCURLY = $OPEN_CURLY_BRACKET;
|
||||
const int $RCURLY = $CLOSE_CURLY_BRACKET;
|
||||
|
|
Loading…
Reference in a new issue