diff options
author | Lindolfo 'Lorn' Rodrigues <lorn@lornlab.org> | 2019-02-13 16:40:19 -0200 |
---|---|---|
committer | Lindolfo 'Lorn' Rodrigues <lorn@lornlab.org> | 2019-02-13 16:59:20 -0200 |
commit | ab206a90b61f7b411dae49e0676cd64165ee10f2 (patch) | |
tree | 467b6b9d2624bf1acd3ed9a9215baf295088df9a /test/test_helper.exs | |
parent | bump version (diff) |
Support Elixir-1.8
Also dropped support for elixir < 1.6
Diffstat (limited to 'test/test_helper.exs')
-rw-r--r-- | test/test_helper.exs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_helper.exs b/test/test_helper.exs index 2fc6291..f0625ca 100644 --- a/test/test_helper.exs +++ b/test/test_helper.exs @@ -2,8 +2,8 @@ ExUnit.start() {:ok, files} = File.ls("./test/support/") -Enum.each files, fn(file) -> +Enum.each(files, fn file -> if String.match?(file, ~r/(.*).exs$/) do - Code.require_file "support/#{file}", __DIR__ + Code.require_file("support/#{file}", __DIR__) end -end +end) |