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

Side by Side Diff: tests/html/js_typed_interop_type1_test.dart

Issue 2765693002: Update all tests (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 import 'dart:html'; 1 import 'dart:html';
2 import 'package:js/js.dart'; 2 import 'package:js/js.dart';
3 import 'package:expect/expect.dart'; 3 import 'package:expect/expect.dart';
4 4
5 @JS() 5 @JS()
6 class A { 6 class A {
7 external get foo; 7 external get foo;
8 8
9 external A(var foo); 9 external A(var foo);
10 } 10 }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 } 46 }
47 } 47 }
48 48
49 main() { 49 main() {
50 _injectJs(); 50 _injectJs();
51 51
52 var a = new A(1); 52 var a = new A(1);
53 var f = new F(6); 53 var f = new F(6);
54 54
55 Expect.equals(testA(a), 1); 55 Expect.equals(testA(a), 1);
56 Expect.equals(testF(f), 6); /// 01: ok 56 Expect.equals(testF(f), 6); //# 01: ok
57 } 57 }
58 58
59 59
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698