Skip to content

Commit

Permalink
Merge pull request #196 from rvirding/fix-tests
Browse files Browse the repository at this point in the history
Fix tests on develop-encode
  • Loading branch information
davydog187 authored Nov 30, 2024
2 parents 7f1c5f4 + 4e74109 commit 23fff36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 31 deletions.
30 changes: 0 additions & 30 deletions test/luerl_new_tests.erl

This file was deleted.

2 changes: 1 addition & 1 deletion test/luerl_old_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ encode_error_test() ->
?assertException(error, {badarg, _}, luerl_old:encode({a,1}, State)).

encode_table_test() ->
{Table, State} = luerl_old:encode(#{a => 1}, luerl_new:init()),
{Table, State} = luerl_old:encode(#{a => 1}, luerl_old:init()),
State1 = luerl_old:set_table1([<<"foo">>], Table, State),
?assertMatch({Table, _State2},
luerl_old:get_table1([<<"foo">>], State1)),
Expand Down

0 comments on commit 23fff36

Please sign in to comment.