1
0
Fork 0

Added test to ensure getter/setter method override error contains name

closure/master
Mike Gerwitz 2011-06-14 17:55:24 -04:00
parent 51e27334cd
commit c83def013a
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}