mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-28 09:36:07 +00:00
Tweak our test combos (#31)
This commit is contained in:
committed by
GitHub
parent
78d10b5f61
commit
d2707f347b
@@ -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
|
||||
|
||||
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user