diff options
author | Hans Bolinder <[email protected]> | 2011-08-18 10:33:58 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2011-08-18 10:33:58 +0200 |
commit | 338d144c10d575108b7913e2e1d1ee5664736ef7 (patch) | |
tree | ab46431c9f35f038b4eb7db5bb1a64f925c73c75 /lib/stdlib/test/zip_SUITE.erl | |
parent | aeaf6c7dc59ccba8fda3e581bfa44dc718edad55 (diff) | |
download | otp-338d144c10d575108b7913e2e1d1ee5664736ef7.tar.gz otp-338d144c10d575108b7913e2e1d1ee5664736ef7.tar.bz2 otp-338d144c10d575108b7913e2e1d1ee5664736ef7.zip |
Fix a bug in zip:zip_open/1,2.
zip:zip_open/1,2 did not accept binary archives.
Also corrected the contracts of t/1 and tt/1.
Diffstat (limited to 'lib/stdlib/test/zip_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/zip_SUITE.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stdlib/test/zip_SUITE.erl b/lib/stdlib/test/zip_SUITE.erl index d5f2cd52d4..7233c061ef 100644 --- a/lib/stdlib/test/zip_SUITE.erl +++ b/lib/stdlib/test/zip_SUITE.erl @@ -375,7 +375,8 @@ zip_options(Config) when is_list(Config) -> ok = file:set_cwd(?config(data_dir, Config)), %% Create a zip archive - {ok, Zip} = zip:zip("filename_not_used.zip", Names, [memory, {cwd, PrivDir}]), + {ok, {_,Zip}} = + zip:zip("filename_not_used.zip", Names, [memory, {cwd, PrivDir}]), %% Open archive {ok, ZipSrv} = zip:zip_open(Zip, [memory]), |