From cd4046eb7a2ec0b31d3c25f7e5bf04a8bb6c3755 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Tue, 3 Jul 2018 08:45:41 -0700 Subject: [PATCH] Update a failing test --- tests/js/realm-tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/js/realm-tests.js b/tests/js/realm-tests.js index 53cee85b..7842c9ee 100644 --- a/tests/js/realm-tests.js +++ b/tests/js/realm-tests.js @@ -425,7 +425,7 @@ module.exports = { realm.create('AllPrimaryTypesObject', {primaryCol: '0', objectCol: undefined}, true); realm.create('AllPrimaryTypesObject', {primaryCol: '1', objectCol: null}, true); - TestCase.assertEqual(obj0.objectCol, null); + TestCase.assertEqual(obj0.objectCol.doubleCol, 0); TestCase.assertEqual(obj1.objectCol, null); // test with string primaries