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