Skip to content

Commit

Permalink
Add exports to Example module for the test workflow in the docs (#5…
Browse files Browse the repository at this point in the history
…0459)

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 authored Jul 7, 2023
1 parent 21bb0c7 commit 930838b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stdlib/Test/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 930838b

Please sign in to comment.