Skip to content

Commit 556c413

Browse files
committed
tests: fix warning
Fix undefined function warning. Function is undefined on purpose since we are testing that kind of error. Signed-off-by: Davide Bettio <davide@uninstall.it>
1 parent 35a2527 commit 556c413

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/libs/exavmlib/Tests.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
#
2020

2121
defmodule Tests do
22+
23+
@compile {:no_warn_undefined, :undef}
24+
2225
def start() do
2326
:ok = IO.puts("Running Elixir tests")
2427
:ok = test_enum()

0 commit comments

Comments
 (0)