diff --git a/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs b/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs index f9e14fd290..fefcada5f0 100644 --- a/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs +++ b/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs @@ -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