Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix inability to get weeks from Timespan.Humanize #884

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Update to latest version of main

87cbe1a
Select commit
Loading
Failed to load commit list.
Open

Fix inability to get weeks from Timespan.Humanize #884

Update to latest version of main
87cbe1a
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Humanizer-CI failed Mar 9, 2024 in 7m 26s

Build #3.0-beta.3+37387adeaa had test failures

Details

Tests

  • 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

See this annotation in the file changed.

@azure-pipelines 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

See this annotation in the file changed.

@azure-pipelines 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' ]

Check failure on line 1 in es.TimeSpanHumanizeTests.Year(days: 1460, expected: "3 años, 11 meses, 29 días")

See this annotation in the file changed.

@azure-pipelines 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)

Check failure on line 1 in es.TimeSpanHumanizeTests.Year(days: 730, expected: "1 año, 11 meses, 29 días")

See this annotation in the file changed.

@azure-pipelines 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)

Check failure on line 1 in es.TimeSpanHumanizeTests.Year(days: 1826, expected: "4 años, 11 meses, 30 días")

See this annotation in the file changed.

@azure-pipelines 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")

See this annotation in the file changed.

@azure-pipelines 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)