Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 #library('GetterSetterInLibTest'); | |
|
ahe
2012/03/10 22:13:42
I think this is wrong. We need to fix the web test
| |
| 5 #import('GetterSetterInLib.dart'); | 6 #import('GetterSetterInLib.dart'); |
| 6 | 7 |
| 7 main() { | 8 main() { |
| 8 Expect.equals(42, foo); | 9 Expect.equals(42, foo); |
| 9 foo = 43; | 10 foo = 43; |
| 10 Expect.equals(42, foo); | 11 Expect.equals(42, foo); |
| 11 } | 12 } |
| OLD | NEW |