Skip to content

Commit

Permalink
fix: unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
piercus committed Jan 22, 2021
1 parent 3cf2c37 commit 2227371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/core/trivial.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ test('NaN Error', t => {
const error = t.throws(() => {
kf.predict({previousCorrected});
});
t.is(error.message, '[checkMatrix] Matrix should not have a NaN');
t.is(error.message, '[covariance] Matrix should not have a NaN\nIn : \nNaN');
});
// Error Test: non-squared matrix

Expand All @@ -307,5 +307,5 @@ test('Non squared matrix', t => {
const error = t.throws(() => {
kf.predict({previousCorrected: nonSquaredState});
});
t.is(error.message, '[checkMatrix] expected size (1) and length (2) does not match');
t.is(error.message, '[mean] expected size (1) and length (2) does not match');
});

0 comments on commit 2227371

Please sign in to comment.