1 | // test error messages for deprecated functions
|
2 | var assert = require('assert');
|
3 | var math = require('../index');
|
4 |
|
5 | describe('deprecated stuff', function() {
|
6 |
|
7 | it('should throw a deprecation error when using UpdateNode', function () {
|
8 |
|
9 | assert.throws(function () {
|
10 | new math.expression.node.UpdateNode();
|
11 | }, /UpdateNode is deprecated/);
|
12 |
|
13 | })
|
14 | });
|