Skip to content

Commit ac030bd

Browse files
committed
style: fix spacing
--- 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: na - 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: passed - task: lint_license_headers status: passed ---
1 parent fd2532a commit ac030bd

File tree

1 file changed

+14
-14
lines changed
  • lib/node_modules/@stdlib/random/tools/unary-factory/docs/types

1 file changed

+14
-14
lines changed

lib/node_modules/@stdlib/random/tools/unary-factory/docs/types/test.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -260,12 +260,12 @@ import createFactory = require( './index' );
260260
const factory = createFactory<number, number>( exponential, dtypes, dtypes, policies );
261261

262262
const r1 = factory();
263-
r1( [ 2,2 ], 2.0, '5' ); // $ExpectError
264-
r1( [ 2,2 ], 2.0, true ); // $ExpectError
265-
r1( [ 2,2 ], 2.0, false ); // $ExpectError
266-
r1( [ 2,2 ], 2.0, null ); // $ExpectError
267-
r1( [ 2,2 ], 2.0, [] ); // $ExpectError
268-
r1( [ 2,2 ], 2.0, ( x: number ): number => x ); // $ExpectError
263+
r1( [ 2, 2 ], 2.0, '5' ); // $ExpectError
264+
r1( [ 2, 2 ], 2.0, true ); // $ExpectError
265+
r1( [ 2, 2 ], 2.0, false ); // $ExpectError
266+
r1( [ 2, 2 ], 2.0, null ); // $ExpectError
267+
r1( [ 2, 2 ], 2.0, [] ); // $ExpectError
268+
r1( [ 2, 2 ], 2.0, ( x: number ): number => x ); // $ExpectError
269269
}
270270

271271
// The compiler throws an error if the returned function is provided an invalid `dtype` option...
@@ -278,14 +278,14 @@ import createFactory = require( './index' );
278278
const factory = createFactory<number, number>( exponential, dtypes, dtypes, policies );
279279

280280
const r1 = factory();
281-
r1( [ 2,2 ], 2.0, { 'dtype': '5' } ); // $ExpectError
282-
r1( [ 2,2 ], 2.0, { 'dtype': 5 } ); // $ExpectError
283-
r1( [ 2,2 ], 2.0, { 'dtype': true } ); // $ExpectError
284-
r1( [ 2,2 ], 2.0, { 'dtype': false } ); // $ExpectError
285-
r1( [ 2,2 ], 2.0, { 'dtype': null } ); // $ExpectError
286-
r1( [ 2,2 ], 2.0, { 'dtype': [] } ); // $ExpectError
287-
r1( [ 2,2 ], 2.0, { 'dtype': {} } ); // $ExpectError
288-
r1( [ 2,2 ], 2.0, { 'dtype': ( x: number ): number => x } ); // $ExpectError
281+
r1( [ 2, 2 ], 2.0, { 'dtype': '5' } ); // $ExpectError
282+
r1( [ 2, 2 ], 2.0, { 'dtype': 5 } ); // $ExpectError
283+
r1( [ 2, 2 ], 2.0, { 'dtype': true } ); // $ExpectError
284+
r1( [ 2, 2 ], 2.0, { 'dtype': false } ); // $ExpectError
285+
r1( [ 2, 2 ], 2.0, { 'dtype': null } ); // $ExpectError
286+
r1( [ 2, 2 ], 2.0, { 'dtype': [] } ); // $ExpectError
287+
r1( [ 2, 2 ], 2.0, { 'dtype': {} } ); // $ExpectError
288+
r1( [ 2, 2 ], 2.0, { 'dtype': ( x: number ): number => x } ); // $ExpectError
289289
}
290290

291291
// The compiler throws an error if the returned function is provided an unsupported number of arguments...

0 commit comments

Comments
 (0)