From cbdd7fa0b7d7f3ea2d92ff0e2b01b77260b68926 Mon Sep 17 00:00:00 2001 From: Oren Novotny Date: Thu, 4 May 2017 10:23:34 -0400 Subject: [PATCH] Update xUnit and fix test overload issue --- src/Humanizer.Tests.Shared/NumberToWordsTests.cs | 4 ++-- src/Humanizer.Tests.Uwp.Runner/project.json | 8 ++++---- src/Humanizer.Tests.Uwp/project.json | 6 +++--- src/Humanizer.Tests/Humanizer.Tests.csproj | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Humanizer.Tests.Shared/NumberToWordsTests.cs b/src/Humanizer.Tests.Shared/NumberToWordsTests.cs index 5d5150614..634019c5d 100644 --- a/src/Humanizer.Tests.Shared/NumberToWordsTests.cs +++ b/src/Humanizer.Tests.Shared/NumberToWordsTests.cs @@ -35,7 +35,7 @@ public class NumberToWordsTests [InlineData(123456789, "one hundred and twenty-three million four hundred and fifty-six thousand seven hundred and eighty-nine")] [InlineData(1234567890, "one billion two hundred and thirty-four million five hundred and sixty-seven thousand eight hundred and ninety")] [Theory] - public void ToWords(int number, string expected) + public void ToWordsInt(int number, string expected) { Assert.Equal(expected, number.ToWords()); } @@ -60,7 +60,7 @@ public void ToWords(int number, string expected) [InlineData(111111111111111111L, "one hundred and eleven quadrillion one hundred and eleven trillion one hundred and eleven billion one hundred and eleven million one hundred and eleven thousand one hundred and eleven")] [InlineData(1111111111111111111L, "one quintillion one hundred and eleven quadrillion one hundred and eleven trillion one hundred and eleven billion one hundred and eleven million one hundred and eleven thousand one hundred and eleven")] [Theory] - public void ToWords(long number, string expected) + public void ToWordsLong(long number, string expected) { Assert.Equal(expected, number.ToWords()); } diff --git a/src/Humanizer.Tests.Uwp.Runner/project.json b/src/Humanizer.Tests.Uwp.Runner/project.json index eea13f7b8..8b187074e 100644 --- a/src/Humanizer.Tests.Uwp.Runner/project.json +++ b/src/Humanizer.Tests.Uwp.Runner/project.json @@ -1,8 +1,8 @@ { "dependencies": { - "Microsoft.NETCore.UniversalWindowsPlatform": "5.2.0", - "xunit": "2.1.0", - "xunit.runner.devices": "1.3.2" + "Microsoft.NETCore.UniversalWindowsPlatform": "5.3.3", + "xunit": "2.3.0-beta1-build3642", + "xunit.runner.devices": "2.2.0-rc1" }, "frameworks": { "uap10.0": {} @@ -15,4 +15,4 @@ "win10-x64": {}, "win10-x64-aot": {} } -} +} \ No newline at end of file diff --git a/src/Humanizer.Tests.Uwp/project.json b/src/Humanizer.Tests.Uwp/project.json index cd50e8864..5b4958e72 100644 --- a/src/Humanizer.Tests.Uwp/project.json +++ b/src/Humanizer.Tests.Uwp/project.json @@ -1,8 +1,8 @@ { "dependencies": { - "Microsoft.NETCore.UniversalWindowsPlatform": "5.3.0", - "xunit": "2.2.0", - "xunit.runner.visualstudio": "2.2.0" + "Microsoft.NETCore.UniversalWindowsPlatform": "5.3.3", + "xunit": "2.3.0-beta1-build3642", + "xunit.runner.visualstudio": "2.3.0-beta1-build1309" }, "frameworks": { "uap10.0": {} diff --git a/src/Humanizer.Tests/Humanizer.Tests.csproj b/src/Humanizer.Tests/Humanizer.Tests.csproj index 7d2c2e19b..b10ec2e3f 100644 --- a/src/Humanizer.Tests/Humanizer.Tests.csproj +++ b/src/Humanizer.Tests/Humanizer.Tests.csproj @@ -7,8 +7,8 @@ $(DefineConstants);NETFX_CORE - - + +