Index: runtime/vm/dart_entry_test.cc |
diff --git a/runtime/vm/dart_entry_test.cc b/runtime/vm/dart_entry_test.cc |
index 5f939ed1d76771d73d683278f0844229d4c83406..a661d5bc735878c161fdd69dadd505ae8bd45122 100644 |
--- a/runtime/vm/dart_entry_test.cc |
+++ b/runtime/vm/dart_entry_test.cc |
@@ -89,10 +89,8 @@ TEST_CASE(InvokeDynamic_CompileError) { |
// Invoke the constructor. |
const Instance& instance = Instance::Handle(Instance::New(cls)); |
- const Array& constructor_arguments = Array::Handle(Array::New(2)); |
+ const Array& constructor_arguments = Array::Handle(Array::New(1)); |
constructor_arguments.SetAt(0, instance); |
- constructor_arguments.SetAt( |
- 1, Smi::Handle(Smi::New(Function::kCtorPhaseAll))); |
String& constructor_name = String::Handle(Symbols::New("A.")); |
Function& constructor = |
Function::Handle(cls.LookupConstructor(constructor_name)); |