Skip to content

Commit

Permalink
chore: fix test string
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Jul 31, 2023
1 parent 3b884ba commit 68462b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/CacheTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void Cache_TestNewCache()
[Fact]
public void Cache_OldCacheWillInvalidate()
{
const string json = """{"GlobalCatalogCache": {}, "IdToTypeCache": {}, "MachineSidCache": {}, SIDToDomainCache: {}, "ValueToIdCache": {}}""";
const string json = "{\"GlobalCatalogCache\": {}, \"IdToTypeCache\": {}, \"MachineSidCache\": {}, \"SIDToDomainCache\": {}, \"ValueToIdCache\": {}}";
var cache = JsonConvert.DeserializeObject<Cache>(json);
Assert.Null(cache.CacheCreationVersion);
Assert.True(Cache.CacheNeedsInvalidation(cache, new Version(1,0,0)));
Expand Down

0 comments on commit 68462b2

Please sign in to comment.