Use older ExpectedException attribute format. Previously tests were failing on NUnit <2.2.8.

This commit is contained in:
Mike Mazur
2008-09-08 08:20:19 +00:00
parent 490ac0be00
commit 3cf92cb511

View File

@@ -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