| OLD | NEW |
| 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 'dart:fletch'; | 5 import 'dart:fletch'; |
| 6 | 6 |
| 7 import 'package:expect/expect.dart'; | 7 import 'package:expect/expect.dart'; |
| 8 | 8 |
| 9 // This class is missing: final fields and const constructor. | 9 // This class is missing: final fields and const constructor. |
| 10 class Fisk { | 10 class Fisk { |
| 11 int age; | 11 int age; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 } | 86 } |
| 87 | 87 |
| 88 testImmutable(obj) { | 88 testImmutable(obj) { |
| 89 Expect.isTrue(isImmutable(obj)); | 89 Expect.isTrue(isImmutable(obj)); |
| 90 } | 90 } |
| 91 | 91 |
| 92 testMutable(obj) { | 92 testMutable(obj) { |
| 93 Expect.isFalse(isImmutable(obj)); | 93 Expect.isFalse(isImmutable(obj)); |
| 94 } | 94 } |
| 95 | 95 |
| OLD | NEW |