Index: runtime/vm/code_generator_test.cc |
=================================================================== |
--- runtime/vm/code_generator_test.cc (revision 6416) |
+++ runtime/vm/code_generator_test.cc (working copy) |
@@ -283,6 +283,7 @@ |
Script& script = Script::Handle(Script::New(url, source, RawScript::kSource)); |
Library& lib = MakeTestLibrary("TestLib"); |
EXPECT(CompilerTest::TestCompileScript(lib, script)); |
+ EXPECT(ClassFinalizer::FinalizePendingClasses()); |
Class& cls = Class::Handle(LookupClass(lib, "A")); |
EXPECT(!cls.IsNull()); |