diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2014-04-11 00:33:58 +0100 |
---|---|---|
committer | Lionel Landwerlin <llandwerlin@gmail.com> | 2014-04-11 09:14:13 +0100 |
commit | a6d342ba894522c62f3f7c75ebc97100c2b9edfe (patch) | |
tree | 465ece77963c61c1b08ee5e66e001be6732ed13d | |
parent | f53faf2a35ac197e924bb2cbaf85c68f94fe1e87 (diff) | |
download | gjs-a6d342ba894522c62f3f7c75ebc97100c2b9edfe.tar.gz |
installed-tests: fix deactivated GIMarshalling test suite
I believe when the installed test suite got created, the way JS files
are loaded changed. That resulted in the window object being different
from the scope of the test files, leaving that particular test suite
disabled.
https://bugzilla.gnome.org/show_bug.cgi?id=728004
-rw-r--r-- | installed-tests/js/testGIMarshalling.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/installed-tests/js/testGIMarshalling.js b/installed-tests/js/testGIMarshalling.js index c736ad9f..4000f9f4 100644 --- a/installed-tests/js/testGIMarshalling.js +++ b/installed-tests/js/testGIMarshalling.js @@ -1,7 +1,6 @@ - if (!('assertEquals' in this)) { /* allow running this test standalone */ imports.lang.copyPublicProperties(imports.jsUnit, this); - gjstestRun = function() { return imports.jsUnit.gjstestRun(window); }; + gjstestRun = function() { return imports.jsUnit.gjstestRun(this); }; } function assertArrayEquals(expected, got) { |