Skip to content

Commit

Permalink
Update dmd test suite test for changes to std.zip.
Browse files Browse the repository at this point in the history
The overload which took an integral value instead of the enum was
deprecated quite a while ago, but the test suite was never updated.
  • Loading branch information
jmdavis committed Aug 30, 2015
1 parent fa198b4 commit d767e9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runnable/testzip.d
Expand Up @@ -49,7 +49,7 @@ int main(string[] args)

zr = new std.zip.ZipArchive();
ArchiveMember am = new ArchiveMember();
am.compressionMethod = 8;
am.compressionMethod = CompressionMethod.deflate;
am.name = "foo.bar";
//am.extra = cast(ubyte[])"ExTrA";
am.expandedData = cast(ubyte[])"We all live in a yellow submarine, a yellow submarine";
Expand Down Expand Up @@ -100,7 +100,7 @@ void testzlib2()
auto am = new ArchiveMember; // 10
am.name = "buf";
am.expandedData = buf;
am.compressionMethod = 8;
am.compressionMethod = CompressionMethod.deflate;
am.time = SysTimeToDosFileTime(Clock.currTime());
ar.addMember (am); // 15

Expand Down

0 comments on commit d767e9a

Please sign in to comment.