Skip to content

Commit ff3a9ea

Browse files
authored
Fixed double brackets inside CTest
1 parent 22ea246 commit ff3a9ea

File tree

1 file changed

+4
-4
lines changed
  • tests/ClangSharp.PInvokeGenerator.UnitTests

1 file changed

+4
-4
lines changed

tests/ClangSharp.PInvokeGenerator.UnitTests/CTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,16 @@ public Task MacroTest()
148148
#define MyMacro2 MyMacro1";
149149

150150
var expectedOutputContents = @"namespace ClangSharp.Test
151-
{{
151+
{
152152
public static partial class Methods
153-
{{
153+
{
154154
[NativeTypeName(""#define MyMacro1 5"")]
155155
public const int MyMacro1 = 5;
156156
157157
[NativeTypeName(""#define MyMacro2 MyMacro1"")]
158158
public const int MyMacro2 = 5;
159-
}}
160-
}}
159+
}
160+
}
161161
";
162162

163163
return ValidateGeneratedCSharpLatestWindowsBindingsAsync(inputContents, expectedOutputContents, commandlineArgs: DefaultCClangCommandLineArgs, language: "c", languageStandard: DefaultCStandard);

0 commit comments

Comments
 (0)