Skip to content

Commit 21f061b

Browse files
authored
Update Castle.Core min from 4.4.0 to 4.4.1 (#640)
Closes #631. Misc changes: - ignore .ionide files - helper to run test using only dotnet core (without .NET framework).
1 parent a4e2e6d commit 21f061b

File tree

4 files changed

+23
-1
lines changed

4 files changed

+23
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,3 +304,6 @@ docs/_site/*
304304

305305
# Ignore VIM tmp files
306306
*.swp
307+
308+
# Ignore Ionide files (https://ionide.io/)
309+
.ionide

src/NSubstitute/NSubstitute.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</PropertyGroup>
4242

4343
<ItemGroup>
44-
<PackageReference Include="Castle.Core" Version="4.4.0-*" />
44+
<PackageReference Include="Castle.Core" Version="4.4.1-*" />
4545
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.3.0-*"
4646
Condition="'$(TargetIsNet5)' != 'true'" />
4747
</ItemGroup>

testDotNetCore.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
dotnet test -f netcoreapp1.1
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using NUnit.Framework;
2+
3+
namespace Na { public delegate void DoNothing(); }
4+
namespace Ns { public delegate void DoNothing(); }
5+
namespace Nt { public delegate void DoNothing(); }
6+
namespace Nz { public delegate void DoNothing(); }
7+
8+
namespace NSubstitute.Acceptance.Specs.FieldReports
9+
{
10+
public class Issue631_NamespaceDelegate
11+
{
12+
[Test] public void Na() { Substitute.For<Na.DoNothing>(); }
13+
[Test] public void Ns() { Substitute.For<Ns.DoNothing>(); }
14+
[Test] public void Nt() { Substitute.For<Nt.DoNothing>(); }
15+
[Test] public void Nz() { Substitute.For<Nz.DoNothing>(); }
16+
}
17+
}

0 commit comments

Comments
 (0)