Skip to content

Commit

Permalink
Fix unit test build on .NET Framework
Browse files Browse the repository at this point in the history
  • Loading branch information
exyi authored and tomasherceg committed Nov 3, 2024
1 parent 2a1ead6 commit 89fd663
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public void SymbolicParameters_AddDefault()
Assert.AreEqual("a+x", assigned.ToString(o => o == symbolE ? CodeParameterAssignment.FromIdentifier("x") : default));
}

#if DotNetCore
[TestMethod]
public void SymbolicParameters_NoAssignmentNoAllocation()
{
Expand All @@ -121,5 +122,6 @@ public void SymbolicParameters_NoAssignmentNoAllocation()
pcode.AssignParameters(noAssignment);
Assert.AreEqual(0, GC.GetAllocatedBytesForCurrentThread() - b);
}
#endif
}
}

0 comments on commit 89fd663

Please sign in to comment.