Skip to content

Commit

Permalink
Fix Vec3#lengthSq unit test (#5559)
Browse files Browse the repository at this point in the history
fix typo on lengthSq test
  • Loading branch information
epreston authored Aug 14, 2023
1 parent b18e198 commit 4496f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/core/math/vec3.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ describe('Vec3', function () {

it('calculates the length squared of a zero length vector', function () {
const v = new Vec3();
expect(v.length()).to.equal(0);
expect(v.lengthSq()).to.equal(0);
});

it('calculates the length squared of a vector', function () {
Expand Down

0 comments on commit 4496f5a

Please sign in to comment.