Skip to content

Unit test & Fix for GH1704 #1705

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

Merged
merged 5 commits into from
May 23, 2018
Merged

Conversation

ador-mg
Copy link
Contributor

@ador-mg ador-mg commented May 22, 2018

A suggested fix for #1704

@fredericDelaporte fredericDelaporte added this to the 5.2 milestone May 22, 2018
Country = country;
}
public virtual string Country { get; set; }
public virtual string City { get; set; }
Copy link
Member

Choose a reason for hiding this comment

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

White-spaces mixup. Sorry but NHibernate uses tabs, please reformat.

@@ -55,6 +55,9 @@ protected override Expression VisitNew(NewExpression expression)
{
_transformed = true;
// Transform each initializer recursively (to allow for nested initializers)
if(expression.Members == null)
Copy link
Member

Choose a reason for hiding this comment

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

Missing space before the opening parenthesis.

namespace NHibernate.Test.NHSpecificTest.GH1704
{
[TestFixture]
public class Fixture : BugTestCase
Copy link
Member

Choose a reason for hiding this comment

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

Due to the test nature, it appears to me no async code re-generation has been run, because for such a test, it should have generated an async counterpart. Please run the async generator. (See contributing.)

@fredericDelaporte fredericDelaporte merged commit 5415567 into nhibernate:master May 23, 2018
@fredericDelaporte
Copy link
Member

Thanks for your contribution.

@ador-mg
Copy link
Contributor Author

ador-mg commented May 23, 2018

Thank you!

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