aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-07 22:25:55 +0000
committerMelanie Thielker2008-10-07 22:25:55 +0000
commit8d2ec1ac71ecbefc4bee1e52b7b0a74b057619e1 (patch)
treeebf2b634a47037b06f98346e733c74bd7529217b /OpenSim/Region/ScriptEngine
parentRestore "friendly errors" to the XEngine (diff)
downloadopensim-SC-8d2ec1ac71ecbefc4bee1e52b7b0a74b057619e1.zip
opensim-SC-8d2ec1ac71ecbefc4bee1e52b7b0a74b057619e1.tar.gz
opensim-SC-8d2ec1ac71ecbefc4bee1e52b7b0a74b057619e1.tar.bz2
opensim-SC-8d2ec1ac71ecbefc4bee1e52b7b0a74b057619e1.tar.xz
Adapt tests to new friendly errors and correct line numbers
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs
index 356f547..2284282 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs
@@ -1564,7 +1564,7 @@ default
1564 { 1564 {
1565 // The syntax error is on line 6, char 5 (expected ';', found 1565 // The syntax error is on line 6, char 5 (expected ';', found
1566 // '}'). 1566 // '}').
1567 Assert.AreEqual("Line (5,4) Line 6, char 5: syntax error", e.Message); 1567 Assert.AreEqual("Line (4,4) syntax error", e.Message);
1568 throw; 1568 throw;
1569 } 1569 }
1570 } 1570 }
@@ -1589,7 +1589,7 @@ default
1589 catch (System.Exception e) 1589 catch (System.Exception e)
1590 { 1590 {
1591 // The syntax error is on line 5, char 14 (Syntax error) 1591 // The syntax error is on line 5, char 14 (Syntax error)
1592 Assert.AreEqual("Line (4,13) Line 5, char 14: syntax error", e.Message); 1592 Assert.AreEqual("Line (3,13) syntax error", e.Message);
1593 1593
1594 throw; 1594 throw;
1595 } 1595 }