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
I'm not sure if this is a problem with the testing framework or the compiler itself...
I have the following code:
public class MyState
{
public void Apply(MyEvent @event) { }
}
The CodeFixProvider generates the method. When I run the code through the CodeFixProvider testing framework. I get this error:
Test method AggregateGrainCodeFixProviderTests.TestCodeFixForMissingApplyMethod threw exception:
System.InvalidOperationException: Context: Iterative code fix application
items not equal. expected:'event' actual:'@event'
When I trace through the code, I eventually get to the CodeActionTest<TVerifier>.AssertTokensEqual and the expectedValue is SyntaxToken IdentifierToken @event and the actualValue is SyntaxToken IdentifierToken @event, but when I inspect expectedValue, Value is event, but when I inspect actualValue, Value is @event (but both have a Text value of @event).
The text was updated successfully, but these errors were encountered:
I'm not sure if this is a problem with the testing framework or the compiler itself...
I have the following code:
The CodeFixProvider generates the method. When I run the code through the CodeFixProvider testing framework. I get this error:
When I trace through the code, I eventually get to the
CodeActionTest<TVerifier>.AssertTokensEqual
and the expectedValue isSyntaxToken IdentifierToken @event
and the actualValue isSyntaxToken IdentifierToken @event
, but when I inspect expectedValue,Value
isevent
, but when I inspect actualValue,Value
is@event
(but both have aText
value of@event
).The text was updated successfully, but these errors were encountered: