Skip to content

Commit 1d50494

Browse files
committed
Add nowarn_missing_spec to test profile to fix test compilation
The test suites use -compile(export_all) and don't have -spec annotations, which causes compilation to fail because the global erl_opts includes both warn_missing_spec and warnings_as_errors. https://claude.ai/code/session_01RBbLduNgvjWctN2Dj12UDY
1 parent ae30034 commit 1d50494

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rebar.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
{profiles, [
4141
{test, [
42-
{erl_opts, [nowarn_export_all]},
42+
{erl_opts, [nowarn_export_all, nowarn_missing_spec]},
4343
{deps, [
4444
{meck, "~> 0.9"}
4545
]}

0 commit comments

Comments
 (0)