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

Side by Side Diff: tests/unsorted/6_test.dart

Issue 1649703002: Update project authors statements to Dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « tests/unsorted/5_test.dart ('k') | tests/unsorted/7_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 import 'package:expect/expect.dart'; 5 import 'package:expect/expect.dart';
6 6
7 class A { 7 class A {
8 var a = 42; 8 var a = 42;
9 var b = "I'm soooo A"; 9 var b = "I'm soooo A";
10 var y; 10 var y;
11 A(int x, this.y) { 11 A(int x, this.y) {
12 Expect.equals(5, x); 12 Expect.equals(5, x);
13 } 13 }
14 toString() => b; 14 toString() => b;
15 get z => 8; 15 get z => 8;
16 } 16 }
17 17
18 main() { 18 main() {
19 var a = new A(5, 7); 19 var a = new A(5, 7);
20 Expect.equals("I'm soooo A", a.toString()); 20 Expect.equals("I'm soooo A", a.toString());
21 Expect.equals(42, a.a); 21 Expect.equals(42, a.a);
22 Expect.equals(7, a.y); 22 Expect.equals(7, a.y);
23 Expect.equals(8, a.z); 23 Expect.equals(8, a.z);
24 } 24 }
OLDNEW
« no previous file with comments | « tests/unsorted/5_test.dart ('k') | tests/unsorted/7_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698