From 4ad50cdf9dd258ef40c8cbb245bf5db11cbd1f25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 18 Jun 2020 15:03:20 +0200 Subject: Add missing exports to Dialyzer tests --- test/plugin_dialyzer.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/plugin_dialyzer.mk b/test/plugin_dialyzer.mk index fbd03e1..609d827 100644 --- a/test/plugin_dialyzer.mk +++ b/test/plugin_dialyzer.mk @@ -26,6 +26,7 @@ dialyzer-app: init $i "Create a module with a function that has no local return" $t printf "%s\n" \ "-module(warn_me)." \ + "-export([doit/0])." \ "doit() -> 1 = 2, ok." > $(APP)/src/warn_me.erl $i "Confirm that Dialyzer errors out" @@ -65,6 +66,7 @@ dialyzer-apps-only: init $i "Create a module with a function that has no local return" $t printf "%s\n" \ "-module(warn_me)." \ + "-export([doit/0])." \ "doit() -> 1 = 2, ok." > $(APP)/apps/my_app/src/warn_me.erl $i "Confirm that Dialyzer errors out" @@ -142,6 +144,7 @@ dialyzer-check: init $i "Create a module with a function that has no local return" $t printf "%s\n" \ "-module(warn_me)." \ + "-export([doit/0])." \ "doit() -> 1 = 2, ok." > $(APP)/src/warn_me.erl $i "Confirm that Dialyzer errors out on 'make check'" -- cgit v1.2.3