mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Mantis #1922
Thank you, idb, for a patch that addresses hex digits erroneously being recognized as valid and parsed in a decimal number
This commit is contained in:
@@ -64,6 +64,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
|
||||
m_stringIntSet.Add("-99999999", -99999999);
|
||||
m_stringIntSet.Add("", 0);
|
||||
m_stringIntSet.Add("aa", 0);
|
||||
m_stringIntSet.Add("56foo", 56);
|
||||
m_stringIntSet.Add("42", 42);
|
||||
m_stringIntSet.Add("42 is the answer", 42);
|
||||
m_stringIntSet.Add(" 42", 42);
|
||||
|
||||
Reference in New Issue
Block a user