From d767e9a375248a297233c590e3148834cb7b1a65 Mon Sep 17 00:00:00 2001 From: Jonathan M Davis Date: Sat, 29 Aug 2015 18:11:03 -0700 Subject: [PATCH] Update dmd test suite test for changes to std.zip. The overload which took an integral value instead of the enum was deprecated quite a while ago, but the test suite was never updated. --- test/runnable/testzip.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runnable/testzip.d b/test/runnable/testzip.d index 9277ad1ef776..27bf5b34b741 100644 --- a/test/runnable/testzip.d +++ b/test/runnable/testzip.d @@ -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"; @@ -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