Skip to content

Commit

Permalink
checking...
Browse files Browse the repository at this point in the history
  • Loading branch information
cnkz committed Jan 10, 2024
1 parent 491b11a commit ca09af1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/ManagedObjectSize.Tests/ManagedObjectSize.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Diagnostics.Runtime" Version="3.1.456101" />
<!--<PackageReference Include="Microsoft.Diagnostics.Runtime.Utilities" Version="3.0.442202" />-->
<PackageReference Include="Microsoft.Diagnostics.Runtime" Version="3.1.456101" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.10" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.10" />
Expand Down
4 changes: 2 additions & 2 deletions src/ManagedObjectSize.Tests/ObjectSizeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,9 @@ public unsafe void ObjectSize_ReportsCorrectSize(bool useRtHelpers, bool useObje
// Got the snapshot. Release GC.
GC.EndNoGCRegion();

using (var runtime = dt.ClrVersions.Single().CreateRuntime())
using (var runtime = dt.ClrVersions.Single().CreateRuntime("dkdkd"))
{
#if true
#if false
Assert.IsTrue(runtime.Heap.CanWalkHeap);

foreach (ulong address in data.Keys)
Expand Down

0 comments on commit ca09af1

Please sign in to comment.