std/os/windows/util.zig: SKIP instead of PASS on non-windows systems;

Tracking Issue #1318 ;
This commit is contained in:
kristopher tate 2018-08-03 02:16:49 +09:00
parent dde7eb45c5
commit 782043e2e6

View File

@ -166,7 +166,7 @@ pub fn windowsUnloadDll(hModule: windows.HMODULE) void {
}
test "InvalidDll" {
if (builtin.os != builtin.Os.windows) return;
if (builtin.os != builtin.Os.windows) return error.SkipZigTest;
const DllName = "asdf.dll";
const allocator = std.debug.global_allocator;