New Fetch
This commit is contained in:
11
erlang/hello-world/include/exercism.hrl
Normal file
11
erlang/hello-world/include/exercism.hrl
Normal file
@@ -0,0 +1,11 @@
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
sut(Module) ->
|
||||
{ok, Files} = file:list_dir("./src"),
|
||||
case lists:member("example.erl", Files) of
|
||||
true -> example;
|
||||
false -> Module
|
||||
end.
|
||||
|
||||
version_test() ->
|
||||
?assertMatch(?TEST_VERSION, ?TESTED_MODULE:test_version()).
|
Reference in New Issue
Block a user