mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Use older ExpectedException attribute format. Previously tests were failing on NUnit <2.2.8.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user