Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a couple of bugs for net472 framework build #1425

Merged
merged 10 commits into from
Jul 27, 2022

Conversation

acizmarik
Copy link
Member

@acizmarik acizmarik commented Jun 20, 2022

This PR fixes bugs uncovered by running our unit tests also on .NET Framework.

#1424 should be merged first

@acizmarik acizmarik marked this pull request as ready for review June 22, 2022 08:26
@acizmarik
Copy link
Member Author

LRU cache IsCollectible test seems to occasionally fail when running on .NET Framework. Not sure why yet...

Assert.IsNotNull(updateExpr);
Assert.AreEqual("c.SetValueToSource(DotvvmBindableObject.DataContextProperty, Convert(newValue, Object))", updateExpr.ToString());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use FastExpressionCompiler's ToCode method

Hopefully fixes random failures
Base automatically changed from feature/make-unit-tests-runnable-net-framework to main July 27, 2022 12:14
@acizmarik acizmarik merged commit ac2a239 into main Jul 27, 2022
@acizmarik acizmarik deleted the fix/bugs-net-framework branch July 27, 2022 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants