diff options
author | Dominic Wong <dombot@gmail.com> | 2012-11-30 15:16:00 +0800 |
---|---|---|
committer | Dominic Wong <dombot@gmail.com> | 2012-11-30 15:16:00 +0800 |
commit | e0c208c49395be56aefd37247a8852ef942703c8 (patch) | |
tree | fddf57640a6df256fbe73944be861dfa7fcbe101 /tests/embind/embind_test.js | |
parent | 64b3836a68c51bfe5823bbd0a82050b4a43536ca (diff) |
Fixed embind for non-void non-const class methods (with test).
Diffstat (limited to 'tests/embind/embind_test.js')
-rw-r--r-- | tests/embind/embind_test.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/embind/embind_test.js b/tests/embind/embind_test.js index e01f0236..8c61553b 100644 --- a/tests/embind/embind_test.js +++ b/tests/embind/embind_test.js @@ -137,6 +137,8 @@ module({ c.setVal('1234'); assert.equal('1234', c.getVal()); + assert.equal(1239, c.returnIntPlusFive(1234)); + c.delete(); assert.equal(0, cm.count_emval_handles()); }, |