summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2022-10-20 11:12:28 +1300
committerOlly Betts <olly@survex.com>2022-10-20 11:12:28 +1300
commit6acd93833cdd0d7fc46dc8ad6f09bd15e96dc9c6 (patch)
treea4ff2d989bce91953ddbbd1c7617bb8999de260b
parentf75adcecac59c96e0a45e37a6fe914d3a9505cf2 (diff)
downloadswig-6acd93833cdd0d7fc46dc8ad6f09bd15e96dc9c6.tar.gz
[js] Add missing `new` to mod_runme.js
-rw-r--r--Examples/test-suite/javascript/mod_runme.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/Examples/test-suite/javascript/mod_runme.js b/Examples/test-suite/javascript/mod_runme.js
index e317b061d..d1a883a6e 100644
--- a/Examples/test-suite/javascript/mod_runme.js
+++ b/Examples/test-suite/javascript/mod_runme.js
@@ -1,6 +1,6 @@
var mod_a = require("mod_a");
var mod_b = require("mod_b");
-c = mod_b.C();
-d = mod_b.D();
+c = new mod_b.C();
+d = new mod_b.D();
d.DoSomething(c);