-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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).
- Loading branch information
Showing
4 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -304,3 +304,6 @@ docs/_site/* | |
|
||
# Ignore VIM tmp files | ||
*.swp | ||
|
||
# Ignore Ionide files (https://ionide.io/) | ||
.ionide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
dotnet test -f netcoreapp1.1 |
17 changes: 17 additions & 0 deletions
17
tests/NSubstitute.Acceptance.Specs/FieldReports/Issue631_NamespaceDelegate.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using NUnit.Framework; | ||
|
||
namespace Na { public delegate void DoNothing(); } | ||
namespace Ns { public delegate void DoNothing(); } | ||
namespace Nt { public delegate void DoNothing(); } | ||
namespace Nz { public delegate void DoNothing(); } | ||
|
||
namespace NSubstitute.Acceptance.Specs.FieldReports | ||
{ | ||
public class Issue631_NamespaceDelegate | ||
{ | ||
[Test] public void Na() { Substitute.For<Na.DoNothing>(); } | ||
[Test] public void Ns() { Substitute.For<Ns.DoNothing>(); } | ||
[Test] public void Nt() { Substitute.For<Nt.DoNothing>(); } | ||
[Test] public void Nz() { Substitute.For<Nz.DoNothing>(); } | ||
} | ||
} |