From bcce7aff183a1b2ef93261a8a851c2c61ec2e167 Mon Sep 17 00:00:00 2001 From: Zeke Sikelianos Date: Mon, 10 Oct 2016 15:25:56 -0700 Subject: [PATCH] test that overrideProperty is not overwritten --- spec/api-menu-spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/api-menu-spec.js b/spec/api-menu-spec.js index 56c43ad47800..bf5c9871cd3a 100644 --- a/spec/api-menu-spec.js +++ b/spec/api-menu-spec.js @@ -449,6 +449,6 @@ describe('MenuItem with custom properties in constructor', function () { assert.equal(menu.items[0].customProp, 'foo') assert.equal(menu.items[0].submenu.items[0].label, 'item 1') assert.equal(menu.items[0].submenu.items[0].customProp, 'bar') - assert.notEqual(typeof menu.items[0].submenu.items[0].overrideProperty, 'string') + assert.equal(typeof menu.items[0].submenu.items[0].overrideProperty, 'function') }) })