Merge pull request #857 from christianrondeau/camel-casing-with-numbers

Ensure future updates won't break camel casing of property names with numbers
This commit is contained in:
James Newton-King
2016-03-28 20:49:37 +13:00
@@ -57,6 +57,7 @@ namespace Newtonsoft.Json.Tests.Utilities
Assert.AreEqual(" IPhone", StringUtils.ToCamelCase(" IPhone"));
Assert.AreEqual("isCIA", StringUtils.ToCamelCase("IsCIA"));
Assert.AreEqual("vmQ", StringUtils.ToCamelCase("VmQ"));
Assert.AreEqual("xml2Json", StringUtils.ToCamelCase("Xml2Json"));
}
}
}