Re-enable subtest for single quoted token in TestJsonSetValueJson()
This is in response to the resolution of http://opensimulator.org/mantis/view.php?id=6540user_profiles
parent
4b8c22ecfa
commit
058d477ce7
|
@ -369,15 +369,15 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore.Tests
|
|||
// TestHelpers.EnableLogging();
|
||||
|
||||
// Single quoted token case
|
||||
// {
|
||||
// UUID storeId = (UUID)InvokeOp("JsonCreateStore", "{ }");
|
||||
//
|
||||
// int result = (int)InvokeOp("JsonSetValueJson", storeId, "Fun", "'Times'");
|
||||
// Assert.That(result, Is.EqualTo(1));
|
||||
//
|
||||
// string value = (string)InvokeOp("JsonGetValue", storeId, "Fun");
|
||||
// Assert.That(value, Is.EqualTo("Times"));
|
||||
// }
|
||||
{
|
||||
UUID storeId = (UUID)InvokeOp("JsonCreateStore", "{ }");
|
||||
|
||||
int result = (int)InvokeOp("JsonSetValueJson", storeId, "Fun", "'Times'");
|
||||
Assert.That(result, Is.EqualTo(1));
|
||||
|
||||
string value = (string)InvokeOp("JsonGetValue", storeId, "Fun");
|
||||
Assert.That(value, Is.EqualTo("Times"));
|
||||
}
|
||||
|
||||
// Sub-tree case
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue