Skip to content

Commit 3c03c08

Browse files
committed
test: add test case
--- 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 --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: passed - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent 08a93ce commit 3c03c08

File tree

1 file changed

+14
-7
lines changed
  • lib/node_modules/@stdlib/_tools/eslint/rules/eol-open-bracket-spacing/test/fixtures

1 file changed

+14
-7
lines changed

lib/node_modules/@stdlib/_tools/eslint/rules/eol-open-bracket-spacing/test/fixtures/unvalidated.js

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@ test = {
3333
'var arrSum = sum( [ 1, 2, 3, 4 ] );'
3434
].join( '\n' )
3535
};
36-
valid.push( test);
36+
valid.push( test );
3737

3838
test = {
3939
'code': [
4040
' var log = require( \'@stdlib/console/log\' );',
4141
' log( {} );'
4242
].join( '\n' )
4343
};
44-
valid.push( test);
44+
valid.push( test );
4545

4646
test = {
4747
'code': [
4848
'var arr = [ {}, 1, 2, 3, 4 ];'
4949
].join( '\n' )
5050
};
51-
valid.push( test);
51+
valid.push( test );
5252

5353
test = {
5454
'code': [
@@ -60,7 +60,7 @@ test = {
6060
' );'
6161
].join( '\n' )
6262
};
63-
valid.push( test);
63+
valid.push( test );
6464

6565
test = {
6666
'code': [
@@ -73,7 +73,7 @@ test = {
7373
' );'
7474
].join( '\n' )
7575
};
76-
valid.push( test);
76+
valid.push( test );
7777

7878
test = {
7979
'code': [
@@ -87,7 +87,7 @@ test = {
8787
' );'
8888
].join( '\n' )
8989
};
90-
valid.push( test);
90+
valid.push( test );
9191

9292
test = {
9393
'code': [
@@ -98,7 +98,14 @@ test = {
9898
'];'
9999
].join( '\n' )
100100
};
101-
valid.push( test);
101+
valid.push( test );
102+
103+
test = {
104+
'code': [
105+
' var x = array( [] );'
106+
].join( '\n' )
107+
};
108+
valid.push( test );
102109

103110

104111
// EXPORTS //

0 commit comments

Comments
 (0)