Index: runtime/vm/dart_api_impl_test.cc |
diff --git a/runtime/vm/dart_api_impl_test.cc b/runtime/vm/dart_api_impl_test.cc |
index 1b26eb557cc75f00de2798a2d1aa831d6198fcf5..6e1675adf8b90d33bbe3143aa53c84456e7286a6 100644 |
--- a/runtime/vm/dart_api_impl_test.cc |
+++ b/runtime/vm/dart_api_impl_test.cc |
@@ -1007,6 +1007,7 @@ TEST_CASE(IntegerFitsIntoUint64) { |
TEST_CASE(ArrayValues) { |
+ EXPECT(!Dart_IsList(Dart_Null())); |
const int kArrayLength = 10; |
Dart_Handle str = NewString("test"); |
EXPECT(!Dart_IsList(str)); |
@@ -1473,6 +1474,7 @@ TEST_CASE(ListAccess) { |
TEST_CASE(MapAccess) { |
+ EXPECT(!Dart_IsMap(Dart_Null())); |
const char* kScriptChars = |
"Map testMain() {" |
" return {" |