disable translate c test on windows (#1253)

This commit is contained in:
Lee Cannon 2023-06-23 16:47:54 +01:00 committed by GitHub
parent d5cbb5b6c8
commit ecb18949df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,9 @@ const translate_c = zls.translate_c;
const allocator: std.mem.Allocator = std.testing.allocator; const allocator: std.mem.Allocator = std.testing.allocator;
test "zig compile server - translate c" { test "zig compile server - translate c" {
// FIXME: Disabled due to https://github.com/zigtools/zls/issues/1252
if (@import("builtin").os.tag == .windows) return error.SkipZigTest;
var result1 = try testTranslate( var result1 = try testTranslate(
\\void foo(int); \\void foo(int);
\\void bar(float*); \\void bar(float*);