summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-10-26 11:16:08 -0400
committerColin Walters <walters@verbum.org>2010-11-17 20:09:14 -0500
commit34fdc293117109f003967aec397b0e87a33c9f53 (patch)
tree812bbebdb1252f22df5e21cb37c4adc88434a974 /test
parentd605a3aa40f5394ee1cad5ad621ad655d4e9e7f9 (diff)
downloadgjs-34fdc293117109f003967aec397b0e87a33c9f53.tar.gz
Support gunichar
This is a new fundamental type tag. https://bugzilla.gnome.org/show_bug.cgi?id=633199
Diffstat (limited to 'test')
-rw-r--r--test/js/testEverythingBasic.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/js/testEverythingBasic.js b/test/js/testEverythingBasic.js
index 2a9982b2..0730eba5 100644
--- a/test/js/testEverythingBasic.js
+++ b/test/js/testEverythingBasic.js
@@ -74,6 +74,10 @@ function testLifeUniverseAndEverything() {
assertEquals(42, Everything.test_double(42));
assertEquals(-42, Everything.test_double(-42));
+ assertEquals("c", Everything.test_unichar("c"));
+ assertEquals("", Everything.test_unichar(""));
+ assertEquals("\u2665", Everything.test_unichar("\u2665"));
+
let now = Math.floor(new Date().getTime() / 1000);
let bounced = Math.floor(Everything.test_timet(now));
assertEquals(bounced, now);