Skip to content

Commit

Permalink
fix bench return type (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfaster authored Nov 19, 2024
1 parent 6de8fa6 commit aeae236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BitFaster.Caching.Benchmarks/Lru/LruJustGetOrAdd.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ Microsoft.Extensions.Caching.Memory.MemoryCache exMemoryCache
[GlobalSetup]
public void GlobalSetup()
{
memoryCache.Set(key.ToString(), "test", new System.Runtime.Caching.CacheItemPolicy());
exMemoryCache.Set(key, "test");
memoryCache.Set(key.ToString(), 1, new System.Runtime.Caching.CacheItemPolicy());
exMemoryCache.Set(key, 1);
}

[GlobalCleanup]
Expand Down

0 comments on commit aeae236

Please sign in to comment.