Corrected GetPropertyDescriptorTest traversal test
parent
7f8d265877
commit
29576cfee4
|
@ -53,7 +53,7 @@ require( 'common' ).testCase(
|
||||||
*/
|
*/
|
||||||
'Indicates whether property chain traversal is possible': function()
|
'Indicates whether property chain traversal is possible': function()
|
||||||
{
|
{
|
||||||
var traversable = ( {}.__proto__ ) ? true : false;
|
var traversable = ( typeof Object.getPrototypeOf === 'function' );
|
||||||
|
|
||||||
this.assertEqual(
|
this.assertEqual(
|
||||||
this.Sut.getPropertyDescriptor.canTraverse,
|
this.Sut.getPropertyDescriptor.canTraverse,
|
||||||
|
|
Loading…
Reference in New Issue