Tweak our test combos (#31)

This commit is contained in:
Paulo F. Oliveira
2021-04-19 23:17:55 +01:00
committed by GitHub
parent 78d10b5f61
commit d2707f347b
4 changed files with 89 additions and 67 deletions
+4
View File
@@ -6,4 +6,8 @@ defmodule TestTest do
out = Logfmt.encode(foo: "bar")
assert out == "foo=bar"
end
test "ensures ssl" do
assert {:ok, _} = Application.ensure_all_started(:ssl)
end
end
+4 -1
View File
@@ -5,7 +5,10 @@
-compile([export_all, nowarn_export_all]).
all() ->
[hello_world].
[hello_world, ssl_ok].
hello_world(_Config) ->
?assertEqual(world, mylib:hello()).
ssl_ok(_Config) ->
{ok, _} = application:ensure_all_started(ssl).