Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit d00c6e5

Browse files
committed
Make tests run in ncrunch.
1 parent 7e49c44 commit d00c6e5

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

test/GitHub.InlineReviews.UnitTests/GitHub.InlineReviews.UnitTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
</ItemGroup>
2222

2323
<ItemGroup>
24+
<ProjectReference Include="..\..\submodules\splat\Splat\Splat-Net45.csproj" />
2425
<ProjectReference Include="..\..\src\GitHub.InlineReviews\GitHub.InlineReviews.csproj" />
2526
</ItemGroup>
2627

test/GitHub.UI.UnitTests/GitHub.UI.UnitTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
</ItemGroup>
2424

2525
<ItemGroup>
26+
<ProjectReference Include="..\..\submodules\splat\Splat\Splat-Net45.csproj" />
2627
<ProjectReference Include="..\..\src\GitHub.UI\GitHub.UI.csproj" />
2728
<ProjectReference Include="..\..\src\GitHub.UI.Reactive\GitHub.UI.Reactive.csproj" />
2829
<ProjectReference Include="..\..\src\GitHub.VisualStudio.UI\GitHub.VisualStudio.UI.csproj" />

test/Helpers/SplatModeDetectorSetUp.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ static SplatModeDetectorSetUp()
1212
var ncrunchAsms = Environment.GetEnvironmentVariable("NCrunch.AllAssemblyLocations")?.Split(';');
1313
if (ncrunchAsms != null)
1414
{
15-
ncrunchAsms.Where(x => x.EndsWith(@"\Net45\Splat.dll")).Select(Assembly.LoadFrom).FirstOrDefault();
15+
ncrunchAsms.Where(x => x.EndsWith(@"\Net45\Splat.dll", StringComparison.OrdinalIgnoreCase)).Select(Assembly.LoadFrom).FirstOrDefault();
1616
}
1717
}
1818

0 commit comments

Comments
 (0)