diff options
author | Melanie | 2009-12-22 09:24:01 +0000 |
---|---|---|
committer | Melanie | 2009-12-22 09:24:01 +0000 |
commit | 1876ce90af98722a205d1c7181ef66b6a2b54fc5 (patch) | |
tree | 2929090816713fac73d3567314ba8727498d02c4 /OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests | |
parent | Add missing file (diff) | |
download | opensim-SC_OLD-1876ce90af98722a205d1c7181ef66b6a2b54fc5.zip opensim-SC_OLD-1876ce90af98722a205d1c7181ef66b6a2b54fc5.tar.gz opensim-SC_OLD-1876ce90af98722a205d1c7181ef66b6a2b54fc5.tar.bz2 opensim-SC_OLD-1876ce90af98722a205d1c7181ef66b6a2b54fc5.tar.xz |
FINALLY! Script compile errors now appear in the script error pane,
not in a funky debug window.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs | 4 |
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 3ca7f7c..63afb0b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs | |||
@@ -1673,7 +1673,7 @@ default | |||
1673 | { | 1673 | { |
1674 | // The syntax error is on line 6, char 5 (expected ';', found | 1674 | // The syntax error is on line 6, char 5 (expected ';', found |
1675 | // '}'). | 1675 | // '}'). |
1676 | Assert.AreEqual("Line (4,4) syntax error", e.Message); | 1676 | Assert.AreEqual("(4,4) syntax error", e.Message); |
1677 | throw; | 1677 | throw; |
1678 | } | 1678 | } |
1679 | } | 1679 | } |
@@ -1698,7 +1698,7 @@ default | |||
1698 | catch (System.Exception e) | 1698 | catch (System.Exception e) |
1699 | { | 1699 | { |
1700 | // The syntax error is on line 5, char 14 (Syntax error) | 1700 | // The syntax error is on line 5, char 14 (Syntax error) |
1701 | Assert.AreEqual("Line (3,13) syntax error", e.Message); | 1701 | Assert.AreEqual("(3,13) syntax error", e.Message); |
1702 | 1702 | ||
1703 | throw; | 1703 | throw; |
1704 | } | 1704 | } |