Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: vm/snapshot_test.cc

Issue 9359009: Implement support for specifying string interopolation style variable substitution in the import ... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« vm/parser.cc ('K') | « vm/raw_object.h ('k') | vm/unit_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/snapshot_test.cc
===================================================================
--- vm/snapshot_test.cc (revision 3975)
+++ vm/snapshot_test.cc (working copy)
@@ -736,8 +736,10 @@
Dart_EnterScope(); // Start a Dart API scope for invoking API functions.
// Load the library.
+ Dart_Handle import_map = Dart_NewList(0);
Dart_Handle import_lib = Dart_LoadLibrary(Dart_NewString("dart:import-lib"),
- Dart_NewString(kLibScriptChars));
+ Dart_NewString(kLibScriptChars),
+ import_map);
EXPECT_VALID(import_lib);
// Create a test library and Load up a test script in it.
« vm/parser.cc ('K') | « vm/raw_object.h ('k') | vm/unit_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698