Skip to content

Commit

Permalink
Another parseAngle test
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdustan committed Dec 6, 2012
1 parent 6d55104 commit 8e894f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tools-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ define([
expect(calculated).toBeCloseTo(expected, 10);
});

it('calculates radians for radians (number)', function () {
var calculated = parseAngle(-0.5026548245743669);
it('calculates radians for radians', function () {
var calculated = parseAngle('-0.5026548245743669');
var expected = -0.5026548245743669;

expect(calculated).toBeCloseTo(expected, 10);
Expand Down

0 comments on commit 8e894f2

Please sign in to comment.