File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lib/node_modules/@stdlib/bench/harness/lib/benchmark-class Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1616* limitations under the License.
1717*/
1818
19+ /* eslint-disable no-invalid-this */
20+
1921'use strict' ;
2022
2123// MODULES //
@@ -33,7 +35,6 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' );
3335* @param {Options } opts - options
3436*/
3537function assert ( ok , opts ) {
36- /* eslint-disable no-invalid-this, no-unused-vars */ // TODO: remove no-unused-vars once `err` is used
3738 var result ;
3839 var err ;
3940
@@ -53,7 +54,7 @@ function assert( ok, opts ) {
5354 }
5455 if ( ! ok ) {
5556 result . error = opts . error || new Error ( this . name ) ;
56- err = new Error ( 'exception ' ) ;
57+ err = new Error ( 'not implemented ' ) ; // eslint-disable-line no-unused-vars
5758
5859 // TODO: generate an exception in order to locate the calling function (https://github.com/substack/tape/blob/master/lib/test.js#L215)
5960 }
You can’t perform that action at this time.
0 commit comments