diff options
author | Colin Walters <walters@verbum.org> | 2010-10-29 12:46:27 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-10-29 12:46:27 -0400 |
commit | 43586ae9b1b166c13828d4b1f386617ace8d9319 (patch) | |
tree | 0819a353a61cadf08434d0849ced9c382d80898c | |
parent | a3a97c41aa72f13ab5282b8f7f2046d2fc23af87 (diff) | |
download | gjs-43586ae9b1b166c13828d4b1f386617ace8d9319.tar.gz |
testEverythingEncapsulated: Add an additional assertion
We fail this check in my current wip/xulrunner-2 branch.
-rw-r--r-- | test/js/testEverythingEncapsulated.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/js/testEverythingEncapsulated.js b/test/js/testEverythingEncapsulated.js index 30008ce2..8dd82c23 100644 --- a/test/js/testEverythingEncapsulated.js +++ b/test/js/testEverythingEncapsulated.js @@ -77,6 +77,7 @@ function testBoxedCopyConstructor() // Copy an object from another object of the same type, shortcuts to the boxed copy let copy = new Everything.TestSimpleBoxedA(simple_boxed); + assertTrue(copy instanceof Everything.TestSimpleBoxedA); assertEquals(42, copy.some_int); assertEquals(43, copy.some_int8); assertEquals(42.5, copy.some_double); |