Fixed broken test.
This commit is contained in:
parent
1973ee9075
commit
8013dfcaf3
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ namespace ScrewTurn.Wiki.SearchEngine.Tests {
|
|||
Assert.AreEqual(WordLocation.Content, WordLocation.GetInstance(3), "Wrong instance");
|
||||
}
|
||||
|
||||
[TestCase(0, ExpectedException = typeof(ArgumentException))]
|
||||
[TestCase(4, ExpectedException = typeof(ArgumentException))]
|
||||
[TestCase((byte)0, ExpectedException = typeof(ArgumentOutOfRangeException))]
|
||||
[TestCase((byte)4, ExpectedException = typeof(ArgumentOutOfRangeException))]
|
||||
public void StaticMethods_GetInstance_InvalidLocation(byte location) {
|
||||
WordLocation.GetInstance(location);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue