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

0.6.0-stable
Mike Mazur 2008-09-08 08:20:19 +00:00
parent 490ac0be00
commit 3cf92cb511
1 changed files with 2 additions and 2 deletions

View File

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