Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define helper functions in tests only once #291

Merged
merged 1 commit into from
Apr 6, 2024
Merged

Conversation

schillic
Copy link
Member

@schillic schillic commented Mar 2, 2024

There were function redefinitions in the tests, leading to the following warnings:

WARNING: Method definition add_one(Any) in module Main
 at /home/runner/work/MathematicalSystems.jl/MathematicalSystems.jl/test/continuous.jl:22
 overwritten at /home/runner/work/MathematicalSystems.jl/MathematicalSystems.jl/test/discrete.jl:20.
WARNING: Method definition add_one(Any, Any) in module Main
 at /home/runner/work/MathematicalSystems.jl/MathematicalSystems.jl/test/continuous.jl:23
 overwritten at /home/runner/work/MathematicalSystems.jl/MathematicalSystems.jl/test/discrete.jl:21.
WARNING: Method definition add_one(Any, Any, Any) in module Main
 at /home/runner/work/MathematicalSystems.jl/MathematicalSystems.jl/test/continuous.jl:24
 overwritten at /home/runner/work/MathematicalSystems.jl/MathematicalSystems.jl/test/discrete.jl:22.

@schillic schillic marked this pull request as ready for review March 2, 2024 14:41
@schillic schillic merged commit 7efe2b5 into master Apr 6, 2024
7 checks passed
@schillic schillic deleted the schillic/test_helper branch April 6, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant