aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs
diff options
context:
space:
mode:
authorMike Mazur2008-09-08 08:20:19 +0000
committerMike Mazur2008-09-08 08:20:19 +0000
commit3cf92cb51169c6959251fc2346f74aa59ee1b560 (patch)
treec46bc7a67330b2c4ace30396613362171f34d100 /OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs
parentImplement proper persistence of the following prim properties: (diff)
downloadopensim-SC_OLD-3cf92cb51169c6959251fc2346f74aa59ee1b560.zip
opensim-SC_OLD-3cf92cb51169c6959251fc2346f74aa59ee1b560.tar.gz
opensim-SC_OLD-3cf92cb51169c6959251fc2346f74aa59ee1b560.tar.bz2
opensim-SC_OLD-3cf92cb51169c6959251fc2346f74aa59ee1b560.tar.xz
Use older ExpectedException attribute format. Previously tests were failing on NUnit <2.2.8.
Diffstat (limited to '')
-rw-r--r--OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs b/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs
index f9e14fd..fefcada 100644
--- a/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs
+++ b/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs
@@ -1544,7 +1544,7 @@ default
1544 } 1544 }
1545 1545
1546 [Test] 1546 [Test]
1547 [ExpectedException("Tools.CSToolsException")] 1547 [ExpectedException(typeof(Tools.CSToolsException))]
1548 public void TestSyntaxError() 1548 public void TestSyntaxError()
1549 { 1549 {
1550 string input = @"default 1550 string input = @"default
@@ -1574,7 +1574,7 @@ default
1574 } 1574 }
1575 1575
1576 [Test] 1576 [Test]
1577 [ExpectedException("Tools.CSToolsException")] 1577 [ExpectedException(typeof(Tools.CSToolsException))]
1578 public void TestSyntaxErrorDeclaringVariableInForLoop() 1578 public void TestSyntaxErrorDeclaringVariableInForLoop()
1579 { 1579 {
1580 string input = @"default 1580 string input = @"default