Index: vm/dart_entry_test.cc |
=================================================================== |
--- vm/dart_entry_test.cc (revision 9791) |
+++ vm/dart_entry_test.cc (working copy) |
@@ -23,7 +23,9 @@ |
"}\n"; |
String& url = String::Handle(String::New("dart-test:DartEntry")); |
String& source = String::Handle(String::New(kScriptChars)); |
- Script& script = Script::Handle(Script::New(url, source, RawScript::kScript)); |
+ Script& script = Script::Handle(Script::New(url, |
+ source, |
+ RawScript::kScriptTag)); |
Library& lib = Library::Handle(Library::CoreLibrary()); |
EXPECT_EQ(true, CompilerTest::TestCompileScript(lib, script)); |
EXPECT(ClassFinalizer::FinalizePendingClasses()); |
@@ -53,7 +55,9 @@ |
"}\n"; |
String& url = String::Handle(String::New("dart-test:DartEntry")); |
String& source = String::Handle(String::New(kScriptChars)); |
- Script& script = Script::Handle(Script::New(url, source, RawScript::kScript)); |
+ Script& script = Script::Handle(Script::New(url, |
+ source, |
+ RawScript::kScriptTag)); |
Library& lib = Library::Handle(Library::CoreLibrary()); |
EXPECT_EQ(true, CompilerTest::TestCompileScript(lib, script)); |
EXPECT(ClassFinalizer::FinalizePendingClasses()); |
@@ -79,7 +83,9 @@ |
"}\n"; |
String& url = String::Handle(String::New("dart-test:DartEntry")); |
String& source = String::Handle(String::New(kScriptChars)); |
- Script& script = Script::Handle(Script::New(url, source, RawScript::kScript)); |
+ Script& script = Script::Handle(Script::New(url, |
+ source, |
+ RawScript::kScriptTag)); |
Library& lib = Library::Handle(Library::CoreLibrary()); |
EXPECT_EQ(true, CompilerTest::TestCompileScript(lib, script)); |
EXPECT(ClassFinalizer::FinalizePendingClasses()); |