| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import 'expect.dart'; | 5 import 'package:expect/expect.dart'; |
| 6 | 6 |
| 7 var intField = 1; | 7 var intField = 1; |
| 8 var doubleField = 3.1415; | 8 var doubleField = 3.1415; |
| 9 var stringField = "hello"; | 9 var stringField = "hello"; |
| 10 var nullField = null; | 10 var nullField = null; |
| 11 var nullField2; | 11 var nullField2; |
| 12 var composed = "hello" + " " + "world"; | 12 var composed = "hello" + " " + "world"; |
| 13 | 13 |
| 14 class A { | 14 class A { |
| 15 static var intField = 1; | 15 static var intField = 1; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 28 Expect.isTrue(nullField2 == null); | 28 Expect.isTrue(nullField2 == null); |
| 29 Expect.isTrue(composed == "hello world"); | 29 Expect.isTrue(composed == "hello world"); |
| 30 | 30 |
| 31 Expect.isTrue(A.intField == 1); | 31 Expect.isTrue(A.intField == 1); |
| 32 Expect.isTrue(A.doubleField == 3.1415); | 32 Expect.isTrue(A.doubleField == 3.1415); |
| 33 Expect.isTrue(A.stringField == "hello"); | 33 Expect.isTrue(A.stringField == "hello"); |
| 34 Expect.isTrue(A.nullField == null); | 34 Expect.isTrue(A.nullField == null); |
| 35 Expect.isTrue(A.nullField2 == null); | 35 Expect.isTrue(A.nullField2 == null); |
| 36 Expect.isTrue(A.composed == "hello world"); | 36 Expect.isTrue(A.composed == "hello world"); |
| 37 } | 37 } |
| OLD | NEW |