You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
structs and property names do not appear to be normalized resulting in the following kind of representation:
public struct Fake
{
private int PLACEHOLDER_1;
public int PLACEHOLDER_2()
{
return PLACEHOLDER_1;
}
public int P
{
get => PLACEHOLDER_1;
}
public int P2
{
get => PLACEHOLDER_1;
set
{
PLACEHOLDER_1 = value;
}
}
Point PLACEHOLDER_4 = new Point(X = 0, Y = 0};
}
public class PLACEHOLDER_1
{
void PLACEHOLDER_2()
{
int LocalInt(int PLACEHOLDER_3) => PLACEHOLDER_3;
var PLACEHOLDER_4 = new Dictionary<int, Func<string, string>>{{LocalInt(5), PLACEHOLDER_5 => PLACEHOLDER_5}, };
}
}
Fake, P, P2, X, Y, LocalInt should all be normalized. This will break some tests.
The text was updated successfully, but these errors were encountered:
I've had this situation before, which is why I've added a nifty little flag you can pass to the test.ps1 script named UpdateExpected that will update all the expected values.
The steps are:
Update the code to also normalize the other identifiers
Run test.ps1 -UpdateExpected
Disclaimer: only run this when you are confident the code works, as otherwise the expected values would be changed to something that is not correct :)
structs
andproperty
names do not appear to be normalized resulting in the following kind of representation:Fake
,P
,P2
, X, Y, LocalInt should all be normalized. This will break some tests.The text was updated successfully, but these errors were encountered: