1
0
Fork 0

Property member builder tests now use object and deepEqual() to ensure that property is copied as intended

closure/master
Mike Gerwitz 2011-01-20 22:22:12 -05:00
parent f25ae7cb43
commit b34e0b45f6
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ var common = require( './common' ),
// stub values // stub values
name = 'foo', name = 'foo',
value = 'bar' value = { bar: 'baz' }
; ;
@ -67,7 +67,7 @@ function assertOnlyVisibility( vis, name, value, message )
visi = check[ i ]; visi = check[ i ];
cmp = ( visi === vis ) ? value : undefined; cmp = ( visi === vis ) ? value : undefined;
assert.equal( assert.deepEqual(
members[ visi ][ name ], members[ visi ][ name ],
cmp, cmp,
message message