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

Unified Diff: tests/kernel/unsorted/let_test.dart

Issue 2434123003: Merge more Kernel infrastructure from kernel_sdk SDK fork. (Closed)
Patch Set: Created 4 years, 2 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: tests/kernel/unsorted/let_test.dart
diff --git a/tests/kernel/unsorted/let_test.dart b/tests/kernel/unsorted/let_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..dc69de86c202cda347430a216271adf3a152ed92
--- /dev/null
+++ b/tests/kernel/unsorted/let_test.dart
@@ -0,0 +1,6 @@
+import 'expect.dart';
Kevin Millikin (Google) 2016/10/21 09:10:57 Copyright header.
Vyacheslav Egorov (Google) 2016/10/21 13:39:43 Done.
+
+main() {
+ var a = [1];
+ Expect.isTrue((a..add(42))[1] == 42);
+}

Powered by Google App Engine
This is Rietveld 408576698