Use older ExpectedException attribute format. Previously tests were failing on NUnit <2.2.8.
parent
490ac0be00
commit
3cf92cb511
|
@ -1544,7 +1544,7 @@ default
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
[ExpectedException("Tools.CSToolsException")]
|
[ExpectedException(typeof(Tools.CSToolsException))]
|
||||||
public void TestSyntaxError()
|
public void TestSyntaxError()
|
||||||
{
|
{
|
||||||
string input = @"default
|
string input = @"default
|
||||||
|
@ -1574,7 +1574,7 @@ default
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
[ExpectedException("Tools.CSToolsException")]
|
[ExpectedException(typeof(Tools.CSToolsException))]
|
||||||
public void TestSyntaxErrorDeclaringVariableInForLoop()
|
public void TestSyntaxErrorDeclaringVariableInForLoop()
|
||||||
{
|
{
|
||||||
string input = @"default
|
string input = @"default
|
||||||
|
|
Loading…
Reference in New Issue