Skip to content

Commit

Permalink
update spec
Browse files Browse the repository at this point in the history
  • Loading branch information
hpinkos committed Aug 1, 2016
1 parent 641ffa9 commit f755bc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Specs/createPackableSpecs.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ define([

it(namePrefix + ' can pack', function() {
var packedArray = [];
packedArray = packable.pack(instance, packedArray);
expect(packedArray).toBeDefined();
var returnArray = packable.pack(instance, packedArray);
expect(returnArray).toBe(packedArray);
var packedLength = defined(packable.packedLength) ? packable.packedLength : instance.packedLength;
expect(packedArray.length).toEqual(packedLength);
expect(packedArray).toEqualEpsilon(packedInstance, CesiumMath.EPSILON15);
Expand Down

0 comments on commit f755bc3

Please sign in to comment.