Previously, running this test would interfere with the load_url
function, so that subsequent loads would not work. In particular,
attempting to run the full test suite would formerly omit the last few
test files. Now they are all run:
% conkeror -q -batch -l tests/simple -walnut-summarize
...
Totals: 112 run, 0 failed in 26 suites
Similarly, running the tests in a running conkeror would previously
only partially run the tests and would only do so once.
---
tests/simple/modules.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/simple/modules.js b/tests/simple/modules.js
index c1cf35d..26cf4a1 100644
--- a/tests/simple/modules.js
+++ b/tests/simple/modules.js
@@ -135,9 +135,11 @@ walnut_run({
this._pending_loads = pending_loads;
this._features = features;
this._after_load_functions = after_load_functions;
+ this._load_url = load_url;
},
teardown: function () {
load_paths = this._load_paths;
+ load_url = this._load_url;
loading_paths = this._loading_paths;
loading_urls = this._loading_urls;
loading_modules = this._loading_modules;
--
1.7.6.3
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror