Skip to content

Commit 27a0d50

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 612a602 commit 27a0d50

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/node_modules/@stdlib/stats/base/dists/levy/pdf/test/test.native.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ tape( 'main export is a function', opts, function test( t ) {
5353
t.end();
5454
});
5555

56-
tape( 'if provided `NaN` for any parameter, the function returns `NaN`', function test( t ) {
56+
tape( 'if provided `NaN` for any parameter, the function returns `NaN`', opts, function test( t ) {
5757
var y = pdf( NaN, 0.0, 1.0 );
5858
t.equal( isnan( y ), true, 'returns NaN' );
5959
y = pdf( 0.0, NaN, 1.0 );
@@ -63,19 +63,19 @@ tape( 'if provided `NaN` for any parameter, the function returns `NaN`', functio
6363
t.end();
6464
});
6565

66-
tape( 'if provided `+infinity` for `x` and a finite `mu` and `c`, the function returns `0`', function test( t ) {
66+
tape( 'if provided `+infinity` for `x` and a finite `mu` and `c`, the function returns `0`', opts, function test( t ) {
6767
var y = pdf( PINF, 0.0, 1.0 );
6868
t.equal( y, 0.0, 'returns 0' );
6969
t.end();
7070
});
7171

72-
tape( 'if provided `-infinity` for `x` and a finite `mu` and `c`, the function returns `0`', function test( t ) {
72+
tape( 'if provided `-infinity` for `x` and a finite `mu` and `c`, the function returns `0`', opts, function test( t ) {
7373
var y = pdf( NINF, 0.0, 1.0 );
7474
t.equal( y, 0.0, 'returns 0' );
7575
t.end();
7676
});
7777

78-
tape( 'if provided a nonpositive `c`, the function returns `NaN`', function test( t ) {
78+
tape( 'if provided a nonpositive `c`, the function returns `NaN`', opts, function test( t ) {
7979
var y;
8080

8181
y = pdf( 2.0, 2.0, 0.0 );
@@ -102,7 +102,7 @@ tape( 'if provided a nonpositive `c`, the function returns `NaN`', function test
102102
t.end();
103103
});
104104

105-
tape( 'the function evaluates the pdf for `x` given positive `mu`', function test( t ) {
105+
tape( 'the function evaluates the pdf for `x` given positive `mu`', opts, function test( t ) {
106106
var expected;
107107
var delta;
108108
var tol;
@@ -131,7 +131,7 @@ tape( 'the function evaluates the pdf for `x` given positive `mu`', function tes
131131
t.end();
132132
});
133133

134-
tape( 'the function evaluates the pdf for `x` given negative `mu`', function test( t ) {
134+
tape( 'the function evaluates the pdf for `x` given negative `mu`', opts, function test( t ) {
135135
var expected;
136136
var delta;
137137
var tol;
@@ -160,7 +160,7 @@ tape( 'the function evaluates the pdf for `x` given negative `mu`', function tes
160160
t.end();
161161
});
162162

163-
tape( 'the function evaluates the pdf for `x` given large variance ( = large `c` )', function test( t ) {
163+
tape( 'the function evaluates the pdf for `x` given large variance ( = large `c` )', opts, function test( t ) {
164164
var expected;
165165
var delta;
166166
var tol;

0 commit comments

Comments
 (0)