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

Warnings about missing specifications for the test functions #44

Open
sskorokhodov opened this issue Mar 30, 2018 · 0 comments
Open

Warnings about missing specifications for the test functions #44

sskorokhodov opened this issue Mar 30, 2018 · 0 comments

Comments

@sskorokhodov
Copy link
Contributor

The output of rebar3 eunit contains warnings:

_build/test/lib/getopt/test/getopt_test.erl:0: Warning: missing specification for function test/0
_build/test/lib/getopt/test/getopt_test.erl:30: Warning: missing specification for function parse_main_test_/0
_build/test/lib/getopt/test/getopt_test.erl:222: Warning: missing specification for function parse_multiple_repetitions_test_/0
...

I ended up using rebar.config.script to disable warn_missing_spec compiler option for eunit task. I'm not sure if it's the right way to do it. I can make a pull request with the script if it is useful.

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

No branches or pull requests

1 participant