[TestCase("fatal: Not a git repository (or any of the parent directories): .git")] // git version 2.16.1.windows.4 public void GetRemotes_should_return_empty_list_not_inside_git_repo(string warning) { ThreadHelper.JoinableTaskFactory.Run(async() => { using (_executable.StageOutput("remote -v", warning)) { var remotes = await _gitModule.GetRemotesAsync(); remotes.Should().BeEmpty(); } }); }