升级基础组件,修正埋点丢失问题
大石头 authored at 2024-11-30 17:23:16
586.00 B
GitSync
using GitSync;

namespace TestProject1;

public class GitRepoTests
{
    private GitRepo _gitRepo;
    public GitRepoTests()
    {
        _gitRepo = new GitRepo { Name = "Core", Path = "D:\\X\\NewLife.Map" };
    }

    [Fact]
    public void GetBranchs()
    {
        var rs = _gitRepo.GetBranchs();
        Assert.NotEmpty(rs);
    }

    [Fact]
    public void GetRemotes()
    {
        var rs = _gitRepo.GetRemotes();
        Assert.NotEmpty(rs);
    }

    [Fact]
    public void GetChanges()
    {
        var rs = _gitRepo.GetChanges();
        Assert.NotEmpty(rs);
    }
}