re-enable fixed test from upstream zig issue
This commit is contained in:
parent
7e1acc8a45
commit
23a0e72227
1 changed files with 4 additions and 7 deletions
|
@ -216,15 +216,12 @@ fn MsgSendFn(
|
|||
}
|
||||
|
||||
test {
|
||||
// https://github.com/ziglang/zig/issues/12360
|
||||
if (true) return error.SkipZigTest;
|
||||
|
||||
const testing = std.testing;
|
||||
try testing.expectEqual(fn (
|
||||
u8,
|
||||
objc.Sel,
|
||||
) callconv(.C) u64, MsgSendFn(u64, u8, @TypeOf(.{})));
|
||||
try testing.expectEqual(fn (u8, objc.Sel, u16, u32) callconv(.C) u64, MsgSendFn(u64, u8, @TypeOf(.{
|
||||
c.id,
|
||||
c.SEL,
|
||||
) callconv(.C) u64, MsgSendFn(u64, c.id, @TypeOf(.{})));
|
||||
try testing.expectEqual(fn (c.id, c.SEL, u16, u32) callconv(.C) u64, MsgSendFn(u64, c.id, @TypeOf(.{
|
||||
@as(u16, 0),
|
||||
@as(u32, 0),
|
||||
})));
|
||||
|
|
Loading…
Add table
Reference in a new issue