From 3be1f7023bd4d25afc42f8d32621abe3926a1bae Mon Sep 17 00:00:00 2001 From: David Kettler Date: Wed, 21 Sep 2011 22:27:07 +0930 Subject: [PATCH] tests/simple/modules.js: clean up load_url modification Previously, running this test would interfere with the load_url function, so that subsequent loads would not work. --- tests/simple/modules.js | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.11.4.GIT