Skip to content

Commit

Permalink
Fix os dependency issue
Browse files Browse the repository at this point in the history
  • Loading branch information
karlll committed Jul 12, 2015
1 parent 7a5d7e8 commit ff8803d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/kjell_extension_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ get_command_ext(Config) ->
undefined = kjell_extension:get_command_extension(cmd_undef),
Actual = kjell_extension:get_command_extension(cmd), % return only one
ct:pal("Got command ext = ~p", [Actual]),
{{test_cmd,cmd},_} = Actual,
{_MF,_Desc} = Actual,
kjell_profile:stop(),
kjell_extension:stop(),
ok.
Expand All @@ -302,12 +302,12 @@ get_all_command_exts(Config) ->
DataDir = proplists:get_value(data_dir,Config),
ok = load_exts(DataDir),
ExpectedCmdExts =
[
lists:keysort(2,[
{{test_cmd,cmd_error},"Test command 2"},
{{test_cmd,cmd},"Test command"},
{{test_extension2,cmd}, "Test command 2 (test_cmd contains the same command)"}
],
ActualCmdExts = kjell_extension:get_all_command_extensions(),
]),
ActualCmdExts = lists:keysort(2,kjell_extension:get_all_command_extensions()),
ct:pal("Got command exts = ~p", [ActualCmdExts]),
ExpectedCmdExts = ActualCmdExts,
kjell_profile:stop(),
Expand Down

0 comments on commit ff8803d

Please sign in to comment.