Skip to content

Commit 6ecc272

Browse files
committed
chore: fix example code and add missing semicolon
--- 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 2ed3934 commit 6ecc272

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

  • lib/node_modules/@stdlib
  • tools/snippets/test/fixtures/julia

lib/node_modules/@stdlib/math/base/special/sincos/test/fixtures/julia/runner.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Generate fixture data and write to file.
3131
# Examples
3232
3333
``` julia
34-
julia> x = linspace( -1000, 1000, 2001 );
34+
julia> x = range( -1000, stop = 1000, length = 2001 );
3535
julia> gen( x, \"data.json\" );
3636
```
3737
"""

lib/node_modules/@stdlib/math/base/special/sincosd/test/fixtures/julia/runner.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Generate fixture data and write to file.
3131
# Examples
3232
3333
``` julia
34-
julia> x = linspace( -1000, 1000, 2001 );
34+
julia> x = range( -1000, stop = 1000, length = 2001 );
3535
julia> gen( x, \"data.json\" );
3636
```
3737
"""

lib/node_modules/@stdlib/math/base/special/sincosdf/test/fixtures/julia/runner.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Generate fixture data and write to file.
3131
# Examples
3232
3333
``` julia
34-
julia> x = linspace( -1000, 1000, 2001 );
34+
julia> x = range( -1000, stop = 1000, length = 2001 );
3535
julia> gen( x, \"data.json\" );
3636
```
3737
"""

lib/node_modules/@stdlib/math/base/special/sincosf/test/fixtures/julia/runner.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Generate fixture data and write to file.
3131
# Examples
3232
3333
``` julia
34-
julia> x = linspace( -1000, 1000, 2001 );
34+
julia> x = range( -1000, stop = 1000, length = 2001 );
3535
julia> gen( x, \"data.json\" );
3636
```
3737
"""

lib/node_modules/@stdlib/math/base/special/sincospi/test/fixtures/julia/runner.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Generate fixture data and write to file.
3131
# Examples
3232
3333
``` julia
34-
julia> x = linspace( -1000, 1000, 2001 );
34+
julia> x = range( -1000, stop = 1000, length = 2001 );
3535
julia> gen( x, \"data.json\" );
3636
```
3737
"""

lib/node_modules/@stdlib/stats/base/dists/halfnormal/stdev/test/fixtures/julia/runner.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function gen( sigma, name )
4949
]);
5050

5151
# Based on the script directory, create an output filepath:
52-
filepath = joinpath( dir, name )
52+
filepath = joinpath( dir, name );
5353

5454
# Write the data to the output filepath as JSON:
5555
outfile = open( filepath, "w" );

tools/snippets/test/fixtures/julia/runner.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import JSON
2020

2121
"""
22-
gen( x, name )
22+
gen( x, name )
2323
2424
Generate fixture data and write to file.
2525
@@ -31,7 +31,7 @@ Generate fixture data and write to file.
3131
# Examples
3232
3333
``` julia
34-
julia> x = linspace( -1000, 1000, 2001 );
34+
julia> x = range( -1000, stop = 1000, length = 2001 );
3535
julia> gen( x, \"data.json\" );
3636
```
3737
"""

0 commit comments

Comments
 (0)