Permalink
Browse files

Corrected GetPropertyDescriptorTest traversal test

  • Loading branch information...
1 parent 7f8d265 commit 29576cfee4384a6edb3385a47efa652a97d1de87 @mikegerwitz committed Mar 7, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/Util/GetPropertyDescriptorTest.js
@@ -53,7 +53,7 @@ require( 'common' ).testCase(
*/
'Indicates whether property chain traversal is possible': function()
{
- var traversable = ( {}.__proto__ ) ? true : false;
+ var traversable = ( typeof Object.getPrototypeOf === 'function' );
this.assertEqual(
this.Sut.getPropertyDescriptor.canTraverse,

0 comments on commit 29576cf

Please sign in to comment.