Fix inability to get weeks from Timespan.Humanize #884
Build #3.0-beta.3+37387adeaa had test failures
Details
- Failed: 26 (0.09%)
- Passed: 27,638 (99.91%)
- Other: 0 (0.00%)
- Total: 27,664
Annotations
Check failure on line 326 in Build log
azure-pipelines / Humanizer-CI
Build log #L326
Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1
Check failure on line 331 in Build log
azure-pipelines / Humanizer-CI
Build log #L331
Dotnet command failed with non-zero exit code on the following projects : [ 'D:\\a\\1\\s\\.\\src\\Humanizer.Tests\\Humanizer.Tests.csproj' ]
azure-pipelines / Humanizer-CI
es.TimeSpanHumanizeTests.Year(days: 1460, expected: "3 años, 11 meses, 29 días")
Assert.Equal() Failure: Strings differ
↓ (pos 18)
Expected: "3 años, 11 meses, 29 días"
Actual: "3 años, 11 meses, 4 semanas, 1 día"
↑ (pos 18)
Raw output
at es.TimeSpanHumanizeTests.Year(Int32 days, String expected) in D:\a\1\s\src\Humanizer.Tests\Localisation\es\TimeSpanHumanizeTests.cs:line 125
at InvokeStub_TimeSpanHumanizeTests.Year(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
azure-pipelines / Humanizer-CI
es.TimeSpanHumanizeTests.Year(days: 730, expected: "1 año, 11 meses, 29 días")
Assert.Equal() Failure: Strings differ
↓ (pos 17)
Expected: "1 año, 11 meses, 29 días"
Actual: "1 año, 11 meses, 4 semanas, 1 día"
↑ (pos 17)
Raw output
at es.TimeSpanHumanizeTests.Year(Int32 days, String expected) in D:\a\1\s\src\Humanizer.Tests\Localisation\es\TimeSpanHumanizeTests.cs:line 125
at InvokeStub_TimeSpanHumanizeTests.Year(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
azure-pipelines / Humanizer-CI
es.TimeSpanHumanizeTests.Year(days: 1826, expected: "4 años, 11 meses, 30 días")
Assert.Equal() Failure: Strings differ
↓ (pos 18)
Expected: "4 años, 11 meses, 30 días"
Actual: "4 años, 11 meses, 4 semanas, 2 días"
↑ (pos 18)
Raw output
at es.TimeSpanHumanizeTests.Year(Int32 days, String expected) in D:\a\1\s\src\Humanizer.Tests\Localisation\es\TimeSpanHumanizeTests.cs:line 125
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Check failure on line 1 in es.TimeSpanHumanizeTests.Month(days: 121, expected: "3 meses, 29 días")
azure-pipelines / Humanizer-CI
es.TimeSpanHumanizeTests.Month(days: 121, expected: "3 meses, 29 días")
Assert.Equal() Failure: Strings differ
↓ (pos 9)
Expected: "3 meses, 29 días"
Actual: "3 meses, 4 semanas, 1 día"
↑ (pos 9)
Raw output
at es.TimeSpanHumanizeTests.Month(Int32 days, String expected) in D:\a\1\s\src\Humanizer.Tests\Localisation\es\TimeSpanHumanizeTests.cs:line 144
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)