| Index: tests/compiler/dart2js_native/native_no_such_method_exception_frog_test.dart
|
| diff --git a/tests/compiler/dart2js_native/native_no_such_method_exception_frog_test.dart b/tests/compiler/dart2js_native/native_no_such_method_exception_frog_test.dart
|
| index 0d220d5e36f4054e5be54500b2f1f44be22e758d..c4a79519778b077bedc7b741ad0b7adc14ea4baf 100644
|
| --- a/tests/compiler/dart2js_native/native_no_such_method_exception_frog_test.dart
|
| +++ b/tests/compiler/dart2js_native/native_no_such_method_exception_frog_test.dart
|
| @@ -16,11 +16,14 @@ class B {
|
|
|
| makeA() native;
|
|
|
| -setup() native """
|
| +setup() {
|
| + JS('', r"""
|
| +(function(){
|
| function A() {}
|
| - makeA = function() { return new A; }
|
| + makeA = function() { return new A(); };
|
| self.nativeConstructor(A);
|
| -""";
|
| +})()""");
|
| +}
|
|
|
| main() {
|
| nativeTesting();
|
|
|