Skip to content

Commit

Permalink
Mejoro otro expected
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoefe committed Oct 31, 2016
1 parent 20e1c09 commit dd00f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe("discrepances", function(){
{a: undefined , b:false , expect:{types:['undefined' , 'boolean'], values:[undefined, false] }},
{a: new Example({uno:1}) , b: new Example({uno:1}) , expect: null },
{a: new Example({uno:1}) , b: {uno:1} , expect: {classes:['Example', 'Object'] } },
{a: new Example({uno:1}) , b: new Example({uno:2}) , expect: {"object":{"uno":{"difference":-1,"values":[1,2]}}} },
{a: new Example({uno:1}) , b: new Example({uno:2}) , expect: {"object":{"uno":discrepances(1,2)}} },
{a: {0:1, length:1} , b: {0:1,1:2,length:2} , expect:{object:{1:{onlyRight:2}, length:discrepances(1,2)}}},
{a: {last:'Simpson', name:'Bart'} , b:{last:'Simpson', name:'Lisa'} , expect:{"object":{"name":discrepances("Bart","Lisa")}} },
{a: {name:'Hommer', last:'Simpson'} , b:{last:'Simpson', name:'Hommer'} , expect:null, opts:{unordered:true}},
Expand Down

0 comments on commit dd00f29

Please sign in to comment.