Chromium Code Reviews| Index: tests/language/lazy_final2_test.dart |
| diff --git a/lib/html/dartium/nativewrappers.dart b/tests/language/lazy_final2_test.dart |
| similarity index 77% |
| copy from lib/html/dartium/nativewrappers.dart |
| copy to tests/language/lazy_final2_test.dart |
| index 44ab39e1ac7567e620f8402b566e4b492836d41e..fd476b8ada251f702e11fb0d99b40a22137e8758 100644 |
| --- a/lib/html/dartium/nativewrappers.dart |
| +++ b/tests/language/lazy_final2_test.dart |
| @@ -2,7 +2,8 @@ |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| -#library('nativewrappers'); |
| +final x = (t) => t + 1; |
| -class NativeFieldWrapperClass1 { |
| -} |
| +main() { |
| + Expect.equals(499, x(498)); |
|
kasperl
2012/09/05 08:54:54
Maybe check with an extra input?
floitsch
2012/09/05 09:31:07
Done.
|
| +} |