Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asciibeats committed Aug 1, 2021
1 parent 49e329c commit 56671f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/luaport.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, luaport, [
{description, "An erlang/elixir port for scripting application logic in lua. Works with lua and luajit."},
{vsn, "1.6.0"},
{vsn, "1.6.1"},
{modules, [luaport, luaport_app, luaport_sup, luaport_server]},
{registered, [luaport_sup]},
{mod, {luaport_app, []}},
Expand Down
4 changes: 2 additions & 2 deletions test/luaport_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ case1(_Config) ->
%{ok, [[{atom, true, false, nil}, "abc"]]} = luaport:call(Pid, 'Echo', [[{atom, true, false, nil}, "abc"]]),
{ok, [{{2, 3}, {<<"vier">>, 5}}]} = luaport:call(Pid, 'Echo', [{{2, 3}, {<<"vier">>, 5}}]),
{ok, [6]} = luaport:call(Pid, 'Call', [<<"multiply">>, 2, 3]),
{ok, []} = luaport:call(Pid, 'Call', [<<"undefined">>, 2, 3]),
PortRef2 = {local, moin},
{ok, _Pid2, []} = luaport:spawn(PortRef2, Path, #{}, ?MODULE),
{ok, [15]} = luaport:call(PortRef2, 'Call', [<<"multiply">>, 3, 5]),
Expand Down Expand Up @@ -69,6 +68,7 @@ case1(_Config) ->
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
"+++++++++++++++">>]),
{error, undefined_callback} = luaport:call(Pid, 'Call', [<<"undefined">>, 2, 3]),
ok = luaport:despawn(banane),
NilRef = {global, nil},
NilPath = filename:join([code:priv_dir(luaport), nil]),
Expand Down Expand Up @@ -99,4 +99,4 @@ multiply(A, B) ->
[A * B].

print(A) ->
ct:pal("print: ~p~n", [A]).
ct:pal("print: ~p~n", [A]).

0 comments on commit 56671f1

Please sign in to comment.