Added test to ensure getter/setter method override error contains name
parent
51e27334cd
commit
c83def013a
|
@ -222,6 +222,9 @@ testEach( function testCannotOverrideMethodWithGetterOrSetter( type, build )
|
|||
}
|
||||
catch ( e )
|
||||
{
|
||||
assert.ok( e.message.search( name ) !== -1,
|
||||
"Method override error message should contain getter/setter name"
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue