Skip to content

Commit

Permalink
Add exports to Example module for the test workflow in the docs (Ju…
Browse files Browse the repository at this point in the history
…liaLang/julia#50459)

The tests are not supposed to work if the toy module `Example` does not export its functions

See https://discourse.julialang.org/t/workflow-for-testing-packages/101305
  • Loading branch information
gdalle committed Jul 7, 2023
1 parent fba9419 commit ea256bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ function type_multiply(a::Float64, b::Float64)
a * b
end

export greet, simple_add, type_multiply

end
```

Expand Down

0 comments on commit ea256bc

Please sign in to comment.