Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Remove obsolete test
- Loading branch information
|
@@ -69,12 +69,14 @@ public string GetMessage() |
|
|
var builder = new StringBuilder(); |
|
|
builder.Append("an instance"); |
|
|
|
|
|
if (this.type != null) |
|
|
if (this.type == null) |
|
|
{ |
|
|
var temp = this.fullTypeName ? this.type.AssemblyQualifiedName : this.type.ToStringProperlyFormatted(); |
|
|
builder.AppendFormat(" of type: [{0}]", temp); |
|
|
return builder.ToString(); |
|
|
} |
|
|
|
|
|
var temp = this.fullTypeName ? this.type.AssemblyQualifiedName : this.type.ToStringProperlyFormatted(); |
|
|
builder.AppendFormat(" of type: [{0}]", temp); |
|
|
|
|
|
return builder.ToString(); |
|
|
} |
|
|
|
|
|
|
@@ -44,14 +44,6 @@ public void BasicTest() |
|
|
Assert.AreEqual(NewLine + "The checked string is ok.", message); |
|
|
} |
|
|
|
|
|
[Test] |
|
|
public void BlockFailTest() |
|
|
{ |
|
|
// ReSharper disable once ObjectCreationAsStatement |
|
|
Check.ThatCode(() => { new MessageBlock(null, null, null); }) |
|
|
.Throws<ArgumentNullException>(); |
|
|
} |
|
|
|
|
|
[Test] |
|
|
public void CheckedBlockTest() |
|
|
{ |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.