Skip to content

Commit

Permalink
Update xUnit and fix test overload issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Novotny committed May 4, 2017
1 parent 2255698 commit cbdd7fa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/Humanizer.Tests.Shared/NumberToWordsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand All @@ -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());
}
Expand Down
8 changes: 4 additions & 4 deletions src/Humanizer.Tests.Uwp.Runner/project.json
Original file line number Diff line number Diff line change
@@ -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": {}
Expand All @@ -15,4 +15,4 @@
"win10-x64": {},
"win10-x64-aot": {}
}
}
}
6 changes: 3 additions & 3 deletions src/Humanizer.Tests.Uwp/project.json
Original file line number Diff line number Diff line change
@@ -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": {}
Expand Down
4 changes: 2 additions & 2 deletions src/Humanizer.Tests/Humanizer.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<DefineConstants>$(DefineConstants);NETFX_CORE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit" Version="2.2.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
<PackageReference Include="xunit" Version="2.3.0-beta1-build3642" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.0-beta1-build1309" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
<ProjectReference Include="..\Humanizer\Humanizer.csproj" />
</ItemGroup>
Expand Down

0 comments on commit cbdd7fa

Please sign in to comment.