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

Unified Diff: dart/tests/try/poi/poi_test.dart

Issue 386563002: Add "point of interest" app for command-line testing of dart2js type information. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 months 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: dart/tests/try/poi/poi_test.dart
diff --git a/dart/tests/language/dynamic_type_literal_test.dart b/dart/tests/try/poi/poi_test.dart
similarity index 58%
copy from dart/tests/language/dynamic_type_literal_test.dart
copy to dart/tests/try/poi/poi_test.dart
index 335e9ae70a2bd61eeaed2c7475eb25c4ae4de407..dd50acb7461b1371c7849a39e304394eec383742 100644
--- a/dart/tests/language/dynamic_type_literal_test.dart
+++ b/dart/tests/try/poi/poi_test.dart
@@ -2,11 +2,13 @@
// 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.
-// Test generation of 'dynamic' type literals.
+library trydart.poi_test;
-import "package:expect/expect.dart";
+import 'dart:io' show
+ Platform;
+
+import 'package:try/poi/poi.dart' as poi;
void main() {
- Expect.isTrue(dynamic is Type);
- Expect.isFalse(dynamic == Type);
+ poi.main(<String>[Platform.script.toFilePath(), '339']);
kasperl 2014/07/10 09:27:07 Is there any way you could make this check somethi
ahe 2014/07/10 10:35:23 Done.
}

Powered by Google App Engine
This is Rietveld 408576698