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

Unified Diff: sky/tests/raw/bogus_import.dart

Issue 1193713002: Demonstrate that we don't crash on a bogus import (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | sky/tests/raw/bogus_import-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/raw/bogus_import.dart
diff --git a/sky/tests/raw/bogus_import.dart b/sky/tests/raw/bogus_import.dart
new file mode 100644
index 0000000000000000000000000000000000000000..607598f03ca6af5a1961e417188ff8c48ba4e4b6
--- /dev/null
+++ b/sky/tests/raw/bogus_import.dart
@@ -0,0 +1,10 @@
+import 'dart:bogus';
+
+import '../resources/third_party/unittest/unittest.dart';
+import '../resources/unit.dart';
+
+void main() {
+ initUnit();
+
+ test("shouldn't crash on a bogus import (see line 1)", () { });
+}
« no previous file with comments | « no previous file | sky/tests/raw/bogus_import-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698