Index: runtime/vm/dart_entry_test.cc |
=================================================================== |
--- runtime/vm/dart_entry_test.cc (revision 6416) |
+++ runtime/vm/dart_entry_test.cc (working copy) |
@@ -26,6 +26,7 @@ |
Script& script = Script::Handle(Script::New(url, source, RawScript::kScript)); |
Library& lib = Library::Handle(Library::CoreLibrary()); |
EXPECT_EQ(true, CompilerTest::TestCompileScript(lib, script)); |
+ EXPECT(ClassFinalizer::FinalizePendingClasses()); |
Class& cls = Class::Handle( |
lib.LookupClass(String::Handle(String::NewSymbol("A")))); |
EXPECT(!cls.IsNull()); |