git-ecosystem/git-credential-manager

GitCredentialManager.Tests.GitTests.Git_GetRemotes_NoRemotes_ReturnsEmpty test fails on Arch Linux

invidian opened this issue · 0 comments

[xUnit.net 00:00:00.7933268]     GitCredentialManager.Tests.GitTests.Git_GetRemotes_NoRemotes_ReturnsEmpty [FAIL]
  Failed GitCredentialManager.Tests.GitTests.Git_GetRemotes_NoRemotes_ReturnsEmpty [11 ms]
  Error Message:
   Assert.Empty() Failure
Collection: [GitRemote { FetchUrl = null, Name = "origin", PushUrl = null }]
  Stack Trace:
     at GitCredentialManager.Tests.GitTests.Git_GetRemotes_NoRemotes_ReturnsEmpty() in <>/git-credential-manager/src/shared/Core.Tests/GitTests.cs:line 66
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Failed!  - Failed:     1, Passed:     0, Skipped:     0, Total:     1, Duration: < 1 ms - Core.Tests.dll (net8.0)

Ran as LANG=C dotnet test --configuration LinuxRelease --filter GitCredentialManager.Tests.GitTests.Git_GetRemotes_NoRemotes_ReturnsEmpty.

Git version:

$ git --version
git version 2.45.2