Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed May 17, 2022
1 parent 3002ba4 commit 12be48b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/pure/esnext.math.degrees.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ QUnit.test('Math.degrees', assert => {
assert.same(degrees(Math.PI), 180);
assert.same(degrees(3 * Math.PI / 2), 270);

const checker = createConversionChecker(3 * PI / 2);
const checker = createConversionChecker(3 * Math.PI / 2);
assert.same(degrees(checker), 270, 'object wrapper');
assert.same(checker.$valueOf, 1, 'valueOf calls');
assert.same(checker.$toString, 0, 'toString calls');
Expand Down
2 changes: 1 addition & 1 deletion tests/pure/esnext.math.radians.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ QUnit.test('Math.radians', assert => {
assert.same(radians(270), 3 * Math.PI / 2);

const checker = createConversionChecker(270);
assert.same(radians(checker), 3 * PI / 2, 'object wrapper');
assert.same(radians(checker), 3 * Math.PI / 2, 'object wrapper');
assert.same(checker.$valueOf, 1, 'valueOf calls');
assert.same(checker.$toString, 0, 'toString calls');
});

0 comments on commit 12be48b

Please sign in to comment.