Skip to content

Commit ef5a939

Browse files
committed
test: fix missing opts argument
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 88e00d0 commit ef5a939

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/exponential/quantile/test

1 file changed

+4
-4
lines changed

lib/node_modules/@stdlib/stats/base/dists/exponential/quantile/test/test.native.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ tape( 'if provided `NaN` for any parameter, the function returns `NaN`', opts, f
6868
t.end();
6969
});
7070

71-
tape( 'if provided a number outside `[0,1]` for `p` and a finite `lambda`, the function returns `NaN`', function test( t ) {
71+
tape( 'if provided a number outside `[0,1]` for `p` and a finite `lambda`, the function returns `NaN`', opts, function test( t ) {
7272
var y = quantile( 2.2, 1.0 );
7373
t.equal( isnan( y ), true, 'returns true' );
7474
y = quantile( -0.2, 1.0 );
7575
t.equal( isnan( y ), true, 'returns true' );
7676
t.end();
7777
});
7878

79-
tape( 'if provided `+infinity` for `lambda`, the function returns `NaN`', function test( t ) {
79+
tape( 'if provided `+infinity` for `lambda`, the function returns `NaN`', opts, function test( t ) {
8080
var y;
8181

8282
y = quantile( 0.0, PINF );
@@ -94,7 +94,7 @@ tape( 'if provided `+infinity` for `lambda`, the function returns `NaN`', functi
9494
t.end();
9595
});
9696

97-
tape( 'if provided a negative `lambda`, the function always returns `NaN`', function test( t ) {
97+
tape( 'if provided a negative `lambda`, the function always returns `NaN`', opts, function test( t ) {
9898
var y;
9999

100100
y = quantile( 2.0, -1.0 );
@@ -109,7 +109,7 @@ tape( 'if provided a negative `lambda`, the function always returns `NaN`', func
109109
t.end();
110110
});
111111

112-
tape( 'the function evaluates the quantile for `x` given parameter `lambda`', function test( t ) {
112+
tape( 'the function evaluates the quantile for `x` given parameter `lambda`', opts, function test( t ) {
113113
var expected;
114114
var lambda;
115115
var delta;

0 commit comments

Comments
 (0)