Corrected member builder method test testCannotOverridePropertyWithMethod
parent
65d988b1c6
commit
b74e03704b
|
@ -55,8 +55,14 @@ mb_common.assertCommon();
|
|||
{
|
||||
mb_common.value = 'moofoo';
|
||||
mb_common.funcVal = undefined;
|
||||
|
||||
// temporarily alter builder
|
||||
mb_common.buildMember = builder.buildProp;
|
||||
mb_common.buildMemberQuick();
|
||||
|
||||
// restore builder
|
||||
mb_common.buildMember = builder.buildMethod;
|
||||
|
||||
assert.throws( function()
|
||||
{
|
||||
// attempt to override with function
|
||||
|
|
Loading…
Reference in New Issue