[fix]修正HyperLogLog.Merge对Key前缀的支持
大石头
编写于
2024-08-27 11:23:32
大石头
提交于
2024-08-27 13:25:21
NewLife.Redis
using System;
using NewLife.Caching.Services;
using NewLife.Model;
using Xunit;
namespace XUnitTest.Services;
public class RedisCacheProviderTests
{
[Fact]
public void Ctor()
{
var sp = ObjectContainer.Provider;
var provider = new RedisCacheProvider(sp);
Assert.NotNull(provider.Cache);
Assert.NotNull(provider.InnerCache);
Assert.Null(provider.RedisQueue);
var q = provider.GetQueue<Object>("test");
Assert.NotNull(q);
}
}
|