Skip to content

Commit 769ea50

Browse files
committed
Fixed typos
1 parent 2f0f403 commit 769ea50

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/unit-tests/function/algebra/sylvester.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe('sylvester', function () {
6262
math2.config({ legacySubset: true })
6363

6464
// Test legacy syntax with sylvester
65-
// This is not strictly necessary and shoudl be removed after the deprecation period
65+
// This is not strictly necessary and should be removed after the deprecation period
6666
const sylvesterA = [[-5.3, -1.4, -0.2, 0.7],
6767
[-0.4, -1.0, -0.1, -1.2],
6868
[0.3, 0.7, -2.5, 0.7],

test/unit-tests/function/matrix/column.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ describe('column', function () {
124124
[0, 0, 0, 6, 0]
125125
]
126126
// Test column with legacySubset syntax
127-
// This is not strictly necessary and shoudl be removed after the deprecation period
127+
// This is not strictly necessary and should be removed after the deprecation period
128128

129129
assert.deepStrictEqual(
130130
math2.column(a, 4).valueOf(), [[0], [4], [0], [0], [0]]

test/unit-tests/type/matrix/utils/broadcast.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ describe('broadcast utils', function () {
108108
assert.deepStrictEqual(result.size, [0])
109109
})
110110

111-
it('shoudl throw an error if arrays are not broadcastable', function () {
111+
it('should throw an error if arrays are not broadcastable', function () {
112112
const a = [[1, 2], [3, 4]]
113113
const b = [10, 20, 30]
114114
assert.throws(function () { broadcast(a, b, [2, 2], [3], (x, y) => x + y) })

0 commit comments

Comments
 (0)