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

Unified Diff: pkg/fasta/test/rasta/issue_000002.dart.dartk.expect

Issue 2650913007: Import rasta tests. (Closed)
Patch Set: Address comment. Created 3 years, 11 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 | « pkg/fasta/test/rasta/issue_000002.dart ('k') | pkg/fasta/test/rasta/issue_000002.dart.direct.expect » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fasta/test/rasta/issue_000002.dart.dartk.expect
diff --git a/pkg/fasta/test/rasta/issue_000002.dart.dartk.expect b/pkg/fasta/test/rasta/issue_000002.dart.dartk.expect
new file mode 100644
index 0000000000000000000000000000000000000000..2827eb81bbc03ec461a26f8262896c5affb82a6d
--- /dev/null
+++ b/pkg/fasta/test/rasta/issue_000002.dart.dartk.expect
@@ -0,0 +1,19 @@
+library;
+import self as self;
+import "dart:core" as core;
+import "package:expect/expect.dart" as exp;
+import "dart:typed_data" as typ;
+
+class Foo extends core::Object {
+ final field dynamic value;
+ constructor •(dynamic value) → dynamic
+ : self::Foo::value = value, super core::Object::•() {}
+ static factory fac(dynamic value) → self::Foo {
+ return new self::Foo::•(value);
+ }
+}
+static field dynamic list = <dynamic>[1, 2, 3];
+static method main() → dynamic {
+ exp::Expect::isTrue(typ::Uint8List::fromList(self::list).[](1).==(2));
+ exp::Expect::isTrue(self::Foo::fac(10).value.==(10));
+}
« no previous file with comments | « pkg/fasta/test/rasta/issue_000002.dart ('k') | pkg/fasta/test/rasta/issue_000002.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698