diff options
author | Justin Clark-Casey (justincc) | 2013-12-14 02:48:29 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-12-14 02:48:29 +0000 |
commit | 51da52f904965425eda4dee3832525bee23bc303 (patch) | |
tree | ec2f600c6f2345e8ec40dba382ae43d574af5b24 | |
parent | ParseNotecardToList() returned data past end of notecard text (mantis #6881). (diff) | |
download | opensim-SC-51da52f904965425eda4dee3832525bee23bc303.zip opensim-SC-51da52f904965425eda4dee3832525bee23bc303.tar.gz opensim-SC-51da52f904965425eda4dee3832525bee23bc303.tar.bz2 opensim-SC-51da52f904965425eda4dee3832525bee23bc303.tar.xz |
Extend TestLlGetNotecardLine() regression test to contain chars that are two bytes in utf8
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiNotecardTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiNotecardTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiNotecardTests.cs index c92bcdb..42d1b3b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiNotecardTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiNotecardTests.cs | |||
@@ -75,7 +75,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
75 | { | 75 | { |
76 | TestHelpers.InMethod(); | 76 | TestHelpers.InMethod(); |
77 | 77 | ||
78 | string[] ncLines = { "One", "Two", "Three" }; | 78 | string[] ncLines = { "One", "Twoรจ", "Three" }; |
79 | 79 | ||
80 | TaskInventoryItem ncItem | 80 | TaskInventoryItem ncItem |
81 | = TaskInventoryHelpers.AddNotecard(m_scene, m_so.RootPart, "nc", "1", "10", string.Join("\n", ncLines)); | 81 | = TaskInventoryHelpers.AddNotecard(m_scene, m_so.RootPart, "nc", "1", "10", string.Join("\n", ncLines)); |