1. Jeremy Latt
  2. v8erl

Commits

jer...@jeremylatt.com  committed d3a4da1

better test

  • Participants
  • Parent commits fb82f96
  • Branches default

Comments (0)

Files changed (1)

File erl/v8.erl

View file
     Context = context(),
     print_script_result(Context, <<"true;">>),
     print_script_result(Context, <<"var f = function() { return true; }; f();">>),
-    print_script_result(Context, <<"var f = function() { return true; }; g();">>),
+    print_script_result(Context, <<"g();">>),
+    print_script_result(Context, <<"var g = f;">>),
+    print_script_result(Context, <<"g();">>),
     destroy(Context),
     ok.