Skip to content

Commit

Permalink
Fixed compile error in test/objects.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrygusev committed Mar 5, 2013
1 parent d83262e commit 94b4e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $(document).ready(function() {
var result;
equal(_.extend({}, {a:'b'}).a, 'b', 'can extend an object with the attributes of another');
equal(_.extend({a:'x'}, {a:'b'}).a, 'b', 'properties in source override destination');
equal(_.extend({x:'x'}, {a:'b'}).x, 'x', 'properties not in source don't get overriden');
equal(_.extend({x:'x'}, {a:'b'}).x, 'x', "properties not in source don't get overriden");
result = _.extend({x:'x'}, {a:'a'}, {b:'b'});
ok(_.isEqual(result, {x:'x', a:'a', b:'b'}), 'can extend from multiple source objects');
result = _.extend({x:'x'}, {a:'a', x:2}, {a:'b'});
Expand Down

0 comments on commit 94b4e6c

Please sign in to comment.