1
0
Fork 0

Corrected GetPropertyDescriptorTest traversal test

perfodd
Mike Gerwitz 2014-03-07 00:45:30 -05:00
parent 7f8d265877
commit 29576cfee4
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 1 additions and 1 deletions

View File

@ -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,