Skip to content

Commit

Permalink
tests: fix warning
Browse files Browse the repository at this point in the history
Fix undefined function warning.
Function is undefined on purpose since we are testing that kind of
error.

Signed-off-by: Davide Bettio <[email protected]>
  • Loading branch information
bettio committed Aug 17, 2024
1 parent 35a2527 commit 556c413
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/libs/exavmlib/Tests.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
#

defmodule Tests do

@compile {:no_warn_undefined, :undef}

def start() do
:ok = IO.puts("Running Elixir tests")
:ok = test_enum()
Expand Down

0 comments on commit 556c413

Please sign in to comment.