summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-06-22 14:12:09 -0400
committerColin Walters <walters@verbum.org>2009-06-22 15:20:33 -0400
commitaffcec7fda9475e0b7b7a4d06251506b5bf50823 (patch)
treec676381cbfd6d1bcae97d86653c88e7b10badf91 /test
parent1f19b470cb5c13d7280b34636be4eeb016f704b1 (diff)
downloadgjs-affcec7fda9475e0b7b7a4d06251506b5bf50823.tar.gz
Support new introspection short/ushort type tags
All we should need to do here is convert them to a fundamental type as we're doing for the other traditional C types.
Diffstat (limited to 'test')
-rw-r--r--test/js/testEverythingBasic.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/js/testEverythingBasic.js b/test/js/testEverythingBasic.js
index f21ec97b..875c5255 100644
--- a/test/js/testEverythingBasic.js
+++ b/test/js/testEverythingBasic.js
@@ -45,6 +45,11 @@ function testLifeUniverseAndEverything() {
assertEquals(-42, Everything.test_int64(-42));
assertEquals(42, Everything.test_uint64(42));
+
+ assertEquals(42, Everything.test_short(42));
+ assertEquals(-42, Everything.test_short(-42));
+
+ assertEquals(42, Everything.test_ushort(42));
assertEquals(42, Everything.test_int(42));
assertEquals(-42, Everything.test_int(-42));