Skip to content

Commit

Permalink
Run on Windows only
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 authored Dec 21, 2022
1 parent ddd1d7f commit fde7601
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Testing;
using Test.Utilities;
using Xunit;

#pragma warning disable CA1305 // Specify IFormatProvider in string.Format
Expand Down Expand Up @@ -566,7 +567,7 @@ public static IEnumerable<object[]> CSharpInlinedByteArrayTestData()
"(new byte[]{ 0xBA, 0x5E, 0xBA, 0x11, 0xF0, 0x07, 0xBA, 0x11 }).AsMemory(0, 8), new CancellationToken()" };
}

[Fact]
[WindowsOnlyFact] // https://github.com/dotnet/roslyn/issues/65081
public Task CS_Fixer_Diagnostic_EnsureSystemNamespaceAutoAddedAsync()
{
string originalCode = @"
Expand Down Expand Up @@ -849,7 +850,7 @@ public static IEnumerable<object[]> VisualBasicInlinedByteArrayTestData()
@"(New Byte() {&HBA, &H5E, &HBA, &H11, &HF0, &H07, &HBA, &H11}).AsMemory(0, 8), New CancellationToken()" };
}

[Fact]
[WindowsOnlyFact] // https://github.com/dotnet/roslyn/issues/65081
public Task VB_Fixer_Diagnostic_EnsureSystemNamespaceAutoAddedAsync()
{
string originalCode = @"
Expand Down Expand Up @@ -1137,4 +1138,4 @@ protected DiagnosticResult GetVisualBasicResult(int startLine, int startColumn,

#endregion
}
}
}

0 comments on commit fde7601

Please sign in to comment.