Преглед на файлове

ide-plugin: fix wrong generated code

${receiver} can't be resolved by perl at runtime.
Semantically it should be $driver->quit() in that place.
Richard Sailer преди 9 години
родител
ревизия
810233602e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      ide-plugin.js

+ 1 - 1
ide-plugin.js

@@ -241,7 +241,7 @@ this.options = {
       '                                               browser_name => "${environment}");\n' +
       "\n",
   footer:
-      "${receiver}->quit();\n" +
+      "$driver->quit();\n" +
       "done_testing();\n",
   indent: "0",
   initialIndents: "0"