mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 22:00:09 +00:00
Fix build.
Review URL: https://chromereviews.googleplex.com/3515026 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@51 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
2ecf52534f
commit
4b5b7fe381
|
@ -1374,11 +1374,10 @@ UNIT_TEST_CASE(NullReceiver) {
|
|||
Dart_Handle function_name = Dart_NewString("toString");
|
||||
const int number_of_arguments = 0;
|
||||
Dart_Handle null_receiver = Api::NewLocalHandle(Object::Handle());
|
||||
Dart_Handle dart_arguments[0];
|
||||
Dart_Result result = Dart_InvokeDynamic(null_receiver,
|
||||
function_name,
|
||||
number_of_arguments,
|
||||
dart_arguments);
|
||||
NULL);
|
||||
EXPECT(Dart_IsValidResult(result));
|
||||
Dart_Handle retobj = Dart_GetResult(result);
|
||||
EXPECT(Dart_IsString(retobj));
|
||||
|
|
Loading…
Reference in a new issue