From 964571a97ed8ee019c7d1db3a18c75325af18c5d Mon Sep 17 00:00:00 2001 From: Christian Rondeau Date: Thu, 24 Mar 2016 23:36:15 -0400 Subject: [PATCH] Ensure future updates won't break camel casing of property names with numbers --- Src/Newtonsoft.Json.Tests/Utilities/StringUtilsTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Src/Newtonsoft.Json.Tests/Utilities/StringUtilsTests.cs b/Src/Newtonsoft.Json.Tests/Utilities/StringUtilsTests.cs index ea5dd389..893776b1 100644 --- a/Src/Newtonsoft.Json.Tests/Utilities/StringUtilsTests.cs +++ b/Src/Newtonsoft.Json.Tests/Utilities/StringUtilsTests.cs @@ -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")); } } } \ No newline at end of file